{"_id": "WxPdc3vg2mpjjajjh", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\tall s : Signal | always s != s'\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Ej2yvyaxQvK2tkNYB", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 23:14:01"} {"_id": "AwjDRqi8Rx5iGbs9W", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (pos.(~pos) in iden)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\tall t:Train | some t.pos implies eventually t.pos in Entry\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "9CfRZqACwk4b8KCb6", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 19:40:40"} {"_id": "ddvYBjihFNXb7Nbim", "cmd_i": 3, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n}\n\n\npred prop3 {\n\t// Trains never move\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways one Train in Track\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "G3fDXvCLw79pnRbZJ", "msg": "This must be a set or relation.\nInstead, it has the following possible type(s):\n{PrimitiveBoolean}", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-12-2 22:33:49"} {"_id": "vWnDapLCBofYRLQYY", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n }\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways (no Track.prox and no prox.Track)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tlone\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "DqLwSoA4CvKPJio4q", "msg": "There are 29 possible tokens that can appear here:\n# ( * @ Int NAME NUMBER STRING String Time ^ all disj fun iden int let lone no none one pred seq some sum this univ { ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-11 17:19:06"} {"_id": "5ZFv4nS23ovaQDeud", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n always (all t:Train| once(no t.pos and after one t.pos:>Entry) )\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "oqCnumi9AJxFBk7CX", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 20:25:56"} {"_id": "D4yACXSAPnabDMaty", "cmd_c": true, "cmd_i": 16, "cmd_n": "prop17ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)'=t.pos) \n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways (all t:pos.Track | (t.pos)' in t.pos + t.pos.prox or (t.pos in Exit and (t.pos)' in t.pos))\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\talways (all t:pos.Track | eventually no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\talways (all j:Junction | lone (prox.j).signal & Green)\n \talways (lone (prox.Junction).signal & Green)\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\talways (all t:Train | some t.pos implies once t.pos in Entry) \n}\n\n\npred prop12 {\n\t\n\t\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\t\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\talways (all t:pos.Track | eventually (t.pos)' != t.pos)\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:pos.Exit | (always some t.pos) since t.pos in Entry)\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\talways (some t:Train | historically lone (Train.pos + t) and eventually (t.pos in Exit and historically lone (pos.Exit + t)))\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "T9qxmSX7GqD6BqSam", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-1 21:33:41"} {"_id": "KyFQAe7DjY7QpQ7LK", "cmd_i": 1, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Sinal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "93FQEYWq9aq9Kkw4J", "msg": "The name \"Sinal\" cannot be found.", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-12-17 00:04:30"} {"_id": "Tx2Gqm3JkMDQ5JNNY", "cmd_c": true, "cmd_i": 10, "cmd_n": "prop11ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways ( all s : Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green) )\n}\n\n\npred prop7 {\n\t\n\talways ( all t:Train | some t.pos :> Track implies eventually no t.pos :> Track )\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal not in Green) implies t.pos' = t.pos )\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t\n\talways ( all j:Junction | lone ( (prox.j).signal & Green ) )\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n always ( all t:Train| some t.pos implies once t.pos in Entry)\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "G9iJ5XvQ2C8XbsWw9", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:57:14"} {"_id": "8sQ6E4C5gGhgkG2X8", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t : Track | always lone t.~pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n \t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\t\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n \n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "cW84XrTy7WTM38omr", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2021-1-7 10:10:43"} {"_id": "DMdMBNFmH3ggB8RNB", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal - Green | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways(all t : Train | always (t.pos' = t.pos))\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\t\n \talways (all disj t1,t2 : Train | no (t1.pos & t2.pos)) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\tall t : Train | some (t.pos & Exit) implies Train' = (Train - t) else( t.pos' in t.pos.prox) \n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "6qej7WszGSbts2CPB", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 21:51:59"} {"_id": "xgCodt2mXPRiLuaX8", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n \talways all t1, t2: Train | some tr1,tr2: Track | t1.pos in tr1 and t2.pos in tr1 implies t1=t2\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "NgbYFfvN9zEwJeE3i", "msg": "This variable is unused.", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 23:00:33"} {"_id": "p7d2nwfKzPK5wWBwT", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways some s : Signal | eventually s' != s\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "47kGb6MLfvciY5Edz", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 23:09:13"} {"_id": "CnD28JMywubceo3T5", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green \n}\n\n\npred prop3 {\n\t// Trains never move\n \n \n always pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n always pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "vZ4GxDLLuQrgMrEXr", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-25 23:18:21"} {"_id": "5NbasrAwwMRo6aBfn", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n all t : Train | always t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "dm5fuLGgq8NXPtDXi", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-26 10:52:55"} {"_id": "X94sHRJ4YyMH6F4Z9", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green \n}\n\n\npred prop3 {\n\t// Trains never move\n \n \n all (Train->Track in pos implies always Train->Track in pos) and (no Train->Track & pos implies always no Train->Track & pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "EjecmtQpz7nMDriPw", "msg": "The \"all x\" construct is no longer supported. If you know the range of possible values of x, consider rewriting it as \"x == set_of_all_possible_values\".", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 23:12:03"} {"_id": "27CZcpNJEphhznjKu", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\teventually Signal in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "p6aiNWmSGJjdu4Xbr", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-5 00:02:39"} {"_id": "Ewh9SmAKqc4iNRG6p", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t : Track | always lone t.~pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \talways all t : Train {\n \t\t(t.pos = Exit) implies no t.pos'\n \tor\n \t(one t.pos) implies (t.pos' in t.pos.prox)\n \t}\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n \t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\t\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n \n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "7LpxqXwa2SGaLB9rd", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-7 10:30:45"} {"_id": "uLeYrrxowaE9jxv3E", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n \n all s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n always all t : Track | lone t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "iPYGyhsCvo5Y22Dki", "msg": "The join operation here always yields an empty set.\nLeft type = {this/Track}\nRight type = {this/Train->this/Track}", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 22:38:22"} {"_id": "XqbPS5dDbRA42n9M5", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tbefore no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "sv4SWhCRXW67QgMhY", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 21:44:46"} {"_id": "67r6uWNjgZXmYr6QE", "cmd_c": true, "cmd_i": 7, "cmd_n": "prop8ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways (all t:Train |some t.pos and (t.pos.signal) in (Signal-Green) implies some t.pos.prox and (some t.pos') since ((t.pos'.signal) in Green))\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "oWfJ5fTG7QnRDXWka", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:49:42"} {"_id": "4SiRNX4zwgZvoA6os", "cmd_i": 8, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\t\n always (no t:Trains | eventually no t.pos in Track-Entry)\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "BzFvbHtxhWQN8DXEK", "msg": "The name \"Trains\" cannot be found.", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-13 23:11:46"} {"_id": "tMhw9sJ7n8nMZWNeZ", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n always (all t:Train| (no t.pos => one (t.pos':>Entry)) )\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "un2wLT7Esz2STJuvF", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 20:33:34"} {"_id": "9F9ryk7y2ZRXY2B7Z", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Signal & Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "nTkZNtG5Q582w4yph", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-12-3 10:28:43"} {"_id": "3YLDRnZzNNxxeqmfZ", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n\t\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\t\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "qrbyvgzDH2CnTkQGi", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-26 11:44:25"} {"_id": "22dpHTfioEh3aLPvi", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n \t\n \tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways (all t:Train |t.pos in Entry implies (t.pos'= t.pos.prox) or t.pos in Exit implies no t.pos')\n}\n\n\npred prop6 {\n\t\n\talways (all s:Signal | always (s in Green) implies eventually (s not in Green ) or \n\t\t\t \t\t\talways s not in Green implies eventually (s in Green) )\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "objite8hAypA2Dpk2", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 21:38:50"} {"_id": "QQKPrRJsb5cztyym8", "cmd_i": 8, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n always (all t:Train| eventually (some t.pos:>Entry )\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "TrBSsbsWbmXvgEWn2", "msg": "There are 1 possible tokens that can appear here:\n)", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-16 20:20:32"} {"_id": "3fBioBvfkvRPXyema", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways all t : Train | t.pos' in t.pos.prox\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways all s : Track.signal | s in Green => s not in Green' or s not in Green' => s in Green\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\t\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "X4ZKumargmniSCj3p", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-8 01:37:06"} {"_id": "79e6uwDmWEytRuhjG", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green \n}\n\n\npred prop3 {\n\t// Trains never move\n \n \n always pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n always pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n always all t: Train | no t.pos & Exit implies t.pos' in t.pos + t.pos.prox\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "C2GMSMmrD2tWcjLFS", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-26 08:41:57"} {"_id": "uuEq2nTywegCmdwNL", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n }\n\npred prop2 {\n\t// Every signal will eventually become green\n\talways ( all s : Track.signal | eventually s=Green)\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "uf6e88MhjFCuS46z2", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-11 17:10:47"} {"_id": "FgGkJyYLAD8T8hAh7", "cmd_i": 5, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways (all t : Train | t.pos = t.pos')\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (all t : Track | lone pos.t)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways (all s : Signal | s in Green implies eventually s not in Green or \n \t\t \t\ts not in Green implies eventually s in Green\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "FJ3CvbFv2xNH6pBGg", "msg": "There are 1 possible tokens that can appear here:\n)", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 16:38:11"} {"_id": "aDr7uFLFAcXBJA5SH", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n \t\n \tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways (all t:Train |t.pos in Entry implies (t.pos'in (t.pos.^prox) ) or t.pos in Exit implies no t.pos')\n}\n\n\npred prop6 {\n\t\n\talways (all s:Signal | always (s in Green) implies eventually (s not in Green ) or \n\t\t\t \t\t\talways s not in Green implies eventually (s in Green) )\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Sfam7cFBYCY4afxwf", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 21:46:37"} {"_id": "p6aiNWmSGJjdu4Xbr", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "ZXeAw5qCWo8YEHPeE", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-12-5 00:02:00"} {"_id": "aCPrr8kwpuRokmtu7", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n \t\n \tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n all t:Train |{\n \talways (t.pos in Exit implies no t.pos') \n \t\n }\n \t\n}\n\n\npred prop6 {\n\t\n\talways (all s:Signal | always (s in Green) implies eventually (s not in Green ) or \n\t\t\t \t\t\talways s not in Green implies eventually (s in Green) )\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "92JHopC6rFy6quhiN", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:01:36"} {"_id": "WsHfbHTa9u396dCn7", "cmd_c": true, "cmd_i": 13, "cmd_n": "prop14ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\talways ( all t:Train | ( one (t.pos.signal :>Green) )implies (t.pos'.signal in Signal-Green) )\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "a5pS6TeY7yZDsqPdQ", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 19:54:27"} {"_id": "y3C6f3SDrDcyXfm8D", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\talways ( all t:Train |(some t.pos) and eventually (t.pos in Entry) )\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "rN2dDmv6ZXTh3jFy4", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:14:52"} {"_id": "YkYyaxjsyupZNCJbg", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n \n all s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n always ~pos.pos in iden\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "xh5HoEQudxXCoqfZK", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 22:42:50"} {"_id": "nYBNMEmyhKjjfCDxH", "cmd_c": true, "cmd_i": 6, "cmd_n": "prop7ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t\n\talways (all s:Signal | always (s in Green) implies eventually (s not in Green ) or \n\t\t\t \t\t\talways s not in Green implies eventually (s in Green) )\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t (all t:Train | some (t.pos & Entry ) implies eventually some (t.pos & Exit) )\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "k4HuCk9xDSjxrkb9N", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 10:44:51"} {"_id": "RT4af3iwaLnjDscTD", "cmd_c": true, "cmd_i": 9, "cmd_n": "prop10ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t all t:Train | some t.pos and (t.pos not in Entry implies before no t.pos and eventually ( some t.pos & Entry) )\n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | some prox.j and lone((prox.j).signal :> Green ))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "DpKHqb47At4G2Zyby", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:46:26"} {"_id": "GSTyChKYCgAfWFfjD", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\teventually (all s:Signal | s in Green)\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "f6nrN6NNCagDekywF", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 19:34:07"} {"_id": "9XGijNgzytRNitQ84", "cmd_i": 4, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways all t : Train | t.pos' in t.pos.prox or t.pos in Exit\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways all s : Signal ignal | s in Green => s not in Green' or s not in Green' => s in Green\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\t\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "w2bzeCeiAztymnAqn", "msg": "There are 3 possible tokens that can appear here:\n, { |", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-12-8 01:38:33"} {"_id": "5xFu79HjuMogRA47b", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Qhg2NnLSyFpeRNqRj", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-25 22:34:58"} {"_id": "79zy8M7rkHHSo4pR4", "cmd_i": 4, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n always (all t:Train|(one t.pos:> Exit and some t.pos.prox => no t.pos'))\n always (all t:Train| (one t.pos and some t.pos.prox => (t.pos' in t.pos.prox or t.pos=t.pos') )\n\n \n \n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "6dgeCQJ57xf2ZkAXH", "msg": "There are 1 possible tokens that can appear here:\n)", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-16 20:46:07"} {"_id": "7HDazaamzmN8Ci6y8", "cmd_c": true, "cmd_i": 7, "cmd_n": "prop8ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways( all t:Train | some t.pos :> Exit implies eventually (no t.pos) )\n\talways( all t:Train | some t.pos :> (Track-Exit) implies eventually (t.pos in t.pos.prox) )\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways ( all s : Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green) )\n}\n\n\npred prop7 {\n\t\n\talways ( all t:Train | some t.pos :> Track implies eventually no t.pos :> Track )\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train, s:Signal | some (t.pos).signal :> s implies (s in Green) releases (t.pos' = t.pos) )\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "ZxPvKxYDYMaXizedF", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:51:37"} {"_id": "qwZiHJwA7cJpgkLkt", "cmd_c": true, "cmd_i": 15, "cmd_n": "prop16ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)'=t.pos) \n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways (all t:pos.Track | (t.pos)' in t.pos + t.pos.prox or (t.pos in Exit and (t.pos)' in t.pos))\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\talways (all t:pos.Track | eventually no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\talways (all j:Junction | lone (prox.j).signal & Green)\n \talways (lone (prox.Junction).signal & Green)\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\talways (all t:Train | some t.pos implies once t.pos in Entry) \n}\n\n\npred prop12 {\n\t\n\t\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\t\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\talways (all t:pos.Track | eventually (t.pos)' != t.pos)\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:pos.Exit | (some t.pos) since t.pos in Entry)\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\t\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\t\n}", "derivationOf": "AspHXJtbhq4wBxo3t", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-1 21:39:45"} {"_id": "9mYct2qzkrn7HTTRf", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tall t : Track | iden in iden\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "QL4xhLXvQdFi2PA7Y", "msg": "Subset operator is redundant, because the left and right expressions always have the same value.\nLeft type = {univ->univ}\nRight type = {univ->univ}", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-3 10:26:11"} {"_id": "e9va9sN9BsSaaxqbC", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "GfeS9mhD2rdLwic2a", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-25 21:49:06"} {"_id": "pwuRhXxMYx2oS9kXK", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t all t:Train | eventually ( some t.pos & Entry) \n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Bzd3rTjGjtGf3uz9w", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:35:19"} {"_id": "MoyDBR8RKW2v2YwiE", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t\n\talways (all s:Signal | always (s in Green) implies eventually (s not in Green ) or \n\t\t\t \t\t\talways s not in Green implies eventually (s in Green) )\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "xarjpkyKTgrt6sLHQ", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2021-1-13 22:03:26"} {"_id": "kZtKsSgR4cKuwhSQN", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n always (all t:Train|(one t.pos:> Exit => no t.pos') or (one t.pos => t.pos' in t.pos.prox ) )\n \n \n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "FjzQN7EesoFwEakeg", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 20:37:33"} {"_id": "Xk386bWLWNEZLx56f", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n always(\n\tall t:Train {\n \tsome tk:t.pos {\n \t(tk in Exit) => t.pos' = t.pos - tk\n \t(tk not in Exit) => some tk2: tk.prox | t.pos' = tk2\n }\n \t} \n )\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "cShgGkYh4XT5j9Dos", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:01:05"} {"_id": "GmvX3sG6mLk82i95G", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n }\n\npred prop2 {\n\t// Every signal will eventually become green\n\talways ( all s : Signal | eventually s=Green)\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "uuEq2nTywegCmdwNL", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-11 17:11:16"} {"_id": "zGy5QwHA7g9J5G2ZH", "cmd_i": 3, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n \talways all t1, t2: Train | always t1.pos & t2.pos implies t1=t2\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "hYvKpkGRP8LY4gyJf", "msg": "This expression failed to be typechecked line 52, column 31, filename=/tmp/alloy_heredoc6024456158796594668.als", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-12-2 23:06:21"} {"_id": "kmGFYwjasLfeE9Jx2", "cmd_c": true, "cmd_i": 13, "cmd_n": "prop14ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\talways ( all t:Train | let tr=t.pos | ( one (tr.signal :>Green) )implies after (tr.signal in Signal-Green) )\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "iC9oAhT7dcxMBsNPy", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 19:56:37"} {"_id": "wDSYuBbNWn4cAzCJK", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t all t:Train | some Track and (t.pos not in Entry implies before no t.pos and eventually ( some t.pos & Entry) )\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "2XAvrcato3f6Ft5j6", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:41:36"} {"_id": "6sq6CXRyDLvRJLaDD", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green \n}\n\n\npred prop3 {\n\t// Trains never move\n always all t: Train, tk: Track | t->tk in pos implies after t->tk in pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "HcyjQfoKkGb6Mi2Bx", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 22:46:13"} {"_id": "xs6qSjb6dwrsrTmJW", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green \n}\n\n\npred prop3 {\n\t// Trains never move\n always pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "qSeFcAZJgopS6WwMg", "msg": "This expression failed to be typechecked line 46, column 3, filename=/tmp/alloy_heredoc5882160000733650353.als", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 22:44:17"} {"_id": "dYuiPBFpdcBNubvpn", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n }\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways (no Track.*prox)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\t\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "LCTYywn7nuykZ4cWL", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-11 17:20:05"} {"_id": "TtKPjXaLnAChxvzus", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all t : Track| lone (t.~pos)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "NQbsKPQPeLaXN78Pz", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2021-1-14 01:25:12"} {"_id": "FcdB2DEGXwGH4EoPX", "cmd_i": 0, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\talways (all t:track | Green in t.signal since Green not in t.signal)\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "bwjx7xAdXG9c9zDnZ", "msg": "The name \"track\" cannot be found.", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-26 16:41:12"} {"_id": "x9D5JLxy88jFwHjmt", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways( all t:Train | some t.pos :> Exit implies eventually (no t.pos) )\n\talways( all t:Train | some t.pos :> (Track-Exit) implies eventually (t.pos in t.pos.prox) )\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways ( all s : Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green) )\n}\n\n\npred prop7 {\n\t\n\talways ( all t:Train | some t.pos :> Track implies eventually no t.pos :> Track )\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal not in Green) implies t.pos' = t.pos )\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\talways ( all t:Train | no t.pos implies eventually (t.pos in Entry) )\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "GzdMB9PE2hrpQkiNW", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:12:54"} {"_id": "jHTTv4wSaqrWgZAJZ", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n \n \n\n \n \n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \t\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "zxvW2dEFvxEaMTWKS", "original": "FwCGymHmbqcziisH5", "theme": {"currentFramePosition": {}, "currentlyProjectedSigs": [], "generalSettings": {"currentLayout": "breadthfirst", "metaPrimSigs": [{"parent": null, "type": "univ"}, {"parent": "Feedback", "type": "AcceptedInvalidInstance"}, {"parent": "univ", "type": "Feedback"}, {"parent": "univ", "type": "Int"}, {"parent": "Track", "type": "Junction"}, {"parent": "Feedback", "type": "RejectedValidInstance"}, {"parent": "univ", "type": "Signal"}, {"parent": "univ", "type": "String"}, {"parent": "univ", "type": "Track"}, {"parent": "univ", "type": "Train"}, {"parent": "null", "type": "univ"}, {"parent": "Int", "type": "seq/Int"}, {"parent": "Feedback", "type": "AcceptedInvalidInstance"}, {"parent": "univ", "type": "Feedback"}, {"parent": "univ", "type": "Int"}, {"parent": "Track", "type": "Junction"}, {"parent": "Feedback", "type": "RejectedValidInstance"}, {"parent": "univ", "type": "Signal"}, {"parent": "univ", "type": "String"}, {"parent": "univ", "type": "Track"}, {"parent": "univ", "type": "Train"}, {"parent": "null", "type": "univ"}, {"parent": "Int", "type": "seq/Int"}], "metaSubsetSigs": [{"parent": "Track", "type": "this/Entry:Track"}, {"parent": "Track", "type": "this/Exit:Track"}]}, "nodePositions": {"AcceptedInvalidInstance": {"x": 698.6666666666666, "y": 99.5}, "Track0": {"x": 524, "y": 298.5}, "Track1": {"x": 524, "y": 199}, "Train": {"x": 349.33333333333337, "y": 99.5}}, "relationSettings": {"edgeColors": [{"color": "#0074D9", "relation": "pos"}, {"color": "#0074D9", "relation": "signal"}, {"color": "#0074D9", "relation": "prox"}], "edgeStyles": [{"edgeStyle": "solid", "relation": "pos"}, {"edgeStyle": "solid", "relation": "signal"}, {"edgeStyle": "solid", "relation": "prox"}], "showAsArcs": [{"relation": "general", "showAsArcs": true}, {"relation": "pos", "showAsArcs": true}, {"relation": "signal", "showAsArcs": true}, {"relation": "AcceptedInvalidInstance", "showAsArcs": true}, {"relation": "Junction", "showAsArcs": true}, {"relation": "this/Entry:Junction", "showAsArcs": true}, {"relation": "this/Exit:Junction", "showAsArcs": true}, {"relation": "Train", "showAsArcs": true}, {"relation": "prox", "showAsArcs": true}, {"relation": "Track", "showAsArcs": true}, {"relation": "this/Entry:Track", "showAsArcs": true}, {"relation": "Signal", "showAsArcs": true}, {"relation": "this/Green:Signal", "showAsArcs": true}, {"relation": "RejectedValidInstance", "showAsArcs": true}], "showAsAttributes": [{"relation": "signal", "showAsAttributes": false}, {"relation": "pos", "showAsAttributes": false}, {"relation": "prox", "showAsAttributes": false}]}, "sigSettings": {"nodeBorders": [{"border": "solid", "type": "univ"}, {"border": "inherit", "type": "AcceptedInvalidInstance"}, {"border": "inherit", "type": "Feedback"}, {"border": "inherit", "type": "Int"}, {"border": "inherit", "type": "this/Entry:Junction"}, {"border": "inherit", "type": "Junction"}, {"border": "inherit", "type": "Track"}, {"border": "inherit", "type": "this/Green:Signal"}, {"border": "inherit", "type": "Signal"}, {"border": "inherit", "type": "Train"}, {"border": "inherit", "type": "seq/Int"}, {"border": "inherit", "type": "general"}, {"border": "inherit", "type": "this/Exit:Junction"}, {"border": "inherit", "type": "this/Entry:Track"}, {"border": "inherit", "type": "RejectedValidInstance"}, {"border": "inherit", "type": "this/Exit:Track"}], "nodeColors": [{"color": "#2ECC40", "type": "univ"}, {"color": "#AAAAAA", "type": "AcceptedInvalidInstance"}, {"color": "inherit", "type": "Feedback"}, {"color": "inherit", "type": "Int"}, {"color": "inherit", "type": "this/Entry:Junction"}, {"color": "#0074D9", "type": "Junction"}, {"color": "#0074D9", "type": "Track"}, {"color": "#2ECC40", "type": "this/Green:Signal"}, {"color": "#FF4136", "type": "Signal"}, {"color": "#FFDC00", "type": "Train"}, {"color": "inherit", "type": "seq/Int"}, {"color": "inherit", "type": "general"}, {"color": "inherit", "type": "this/Exit:Junction"}, {"color": "inherit", "type": "this/Entry:Track"}, {"color": "#AAAAAA", "type": "RejectedValidInstance"}, {"color": "inherit", "type": "this/Exit:Track"}], "nodeShapes": [{"shape": "ellipse", "type": "univ"}, {"shape": "octagon", "type": "AcceptedInvalidInstance"}, {"shape": "inherit", "type": "Feedback"}, {"shape": "inherit", "type": "Int"}, {"shape": "inherit", "type": "this/Entry:Junction"}, {"shape": "inherit", "type": "Junction"}, {"shape": "rectangle", "type": "Track"}, {"shape": "inherit", "type": "this/Green:Signal"}, {"shape": "inherit", "type": "Signal"}, {"shape": "pentagon", "type": "Train"}, {"shape": "inherit", "type": "seq/Int"}, {"shape": "inherit", "type": "general"}, {"shape": "inherit", "type": "this/Exit:Junction"}, {"shape": "inherit", "type": "this/Entry:Track"}, {"shape": "octagon", "type": "RejectedValidInstance"}, {"shape": "inherit", "type": "this/Exit:Track"}], "nodeVisibility": [{"type": "univ", "visibility": false}, {"type": "Int", "visibility": true}, {"type": "seq/Int", "visibility": true}, {"type": "general", "visibility": false}, {"type": "AcceptedInvalidInstance", "visibility": false}, {"type": "this/Entry:Junction", "visibility": false}, {"type": "this/Green:Signal", "visibility": false}, {"type": "Train", "visibility": false}, {"type": "Junction", "visibility": false}, {"type": "this/Exit:Junction", "visibility": false}, {"type": "Signal", "visibility": false}, {"type": "this/Entry:Track", "visibility": false}, {"type": "Track", "visibility": false}, {"type": "RejectedValidInstance", "visibility": false}, {"type": "this/Exit:Track", "visibility": false}]}}, "time": "2021-1-16 20:50:19"} {"_id": "6EXDDSXFeh7EzRhc9", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n always (all t:Train| eventually (no t.pos and after one t.pos:>Entry))\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "FRdnH8gaBG6fT4M9D", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 20:23:37"} {"_id": "4zCfSm23LaNX3MGNe", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "kPYWo6KLskKWkEXWX", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-26 10:44:18"} {"_id": "EsNu429FteEhkuoCy", "cmd_c": true, "cmd_i": 6, "cmd_n": "prop7ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (pos.(~pos) in iden)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways (all t:pos.Track | (t.pos)' in t.pos.prox)\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n \talways (all s:Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green))\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\talways (all t:pos.Track | eventually no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\talways (all j:Junction | lone ((prox.j).signal&Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n \t\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\t\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\t\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\t\n}", "derivationOf": "gm2RXssLbrEzojpXw", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-29 14:52:08"} {"_id": "uAmE5cNb2SBDevAF6", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all t : Track | eventually t.signal in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n all t : Train | always t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "5wk87KRp2uZHvP7q9", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-12-9 14:05:55"} {"_id": "RP8kyn5Y4mvvET3XA", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\teventually (Green in Signal)\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "WGJucccZuXEuLZY8b", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-26 16:44:54"} {"_id": "6einwgA9fcsA6BXdS", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n always (all t:Train| once(no t.pos => after one t.pos:>Entry) )\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "5ZFv4nS23ovaQDeud", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 20:26:13"} {"_id": "8ZYLKYCZucDatq2ET", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways Entry + Exit in Train.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Kg3xegpi23nc2qcqt", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-5 00:13:15"} {"_id": "b99is78fvJ7RNFERg", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\teventually (all s:Signal | eventually Green in s)\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "7mPx8WThAXRWnFGh7", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-26 16:44:38"} {"_id": "K6ty2HqooD8SG6oQN", "cmd_i": 3, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\t\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (Train.pos).~(Train.pos) in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "ZcHaFJZNXuiwNPhMa", "msg": "~ can be used only with a binary relation.\nInstead, its possible type(s) are:\n{this/Track}", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-24 23:00:01"} {"_id": "wjBhA3PcfLfCNcCWE", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s:Signal | eventually s in Green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n always all t:Train | t.pos = t.pos'\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n always all t1,t2:Train | t1.pos!=t2.pos\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "6mTY8tzh6RxWqQjRa", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-16 19:04:33"} {"_id": "xKScozzW2sHnyj7yF", "cmd_c": true, "cmd_i": 13, "cmd_n": "prop14ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t ( all t:Train | (some t.pos and one (t.pos.signal :>Green) )implies after (t.pos.signal in Signal-Green) )\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "dk5aAFbxeGjnfKHfL", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 19:57:43"} {"_id": "7WSWohcFkFdHazb9T", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": " Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green, Red in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t No cycles\n\tno t : Track | t in t.^prox\n\t Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\tall s:Signal | Signal in Green or Signal in Red\n\t All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t Intially all signals are red\n}\n\n\npred prop2 {\n\t Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t Trains never move\n\talways all t:Train | t.pos'=t.pos\n}\n\n\npred prop4 {\n\t There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos)\n}\n\n\npred prop5 {\n\t A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "RfxgEJEwRWgmNxRPk", "msg": "This variable is unused.", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-8 04:50:28"} {"_id": "Wmnf67hkoJyM6yJB8", "cmd_c": true, "cmd_i": 13, "cmd_n": "prop14ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\talways ( all t:Train | let tr=t.pos |pos!=pos' and ( one (tr.signal :>Green) )implies after (tr.signal in Signal-Green) )\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "kmGFYwjasLfeE9Jx2", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 19:56:57"} {"_id": "L83fk29zSz86oSfqc", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "XqbPS5dDbRA42n9M5", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-25 21:44:56"} {"_id": "Wbuhy9waRwrx7LcNC", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal - Green | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways(all t : Train | always (t.pos' = t.pos))\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tpos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "JgK9Eu5fJHvC2rYWM", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 21:39:54"} {"_id": "BsPtfpXa5oFyNHSSz", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways all t:Train |t.pos in Entry implies some t.pos.prox in \n}\n\n\npred prop6 {\n\t\n\talways (all s:Signal | always (s in Green) implies eventually (s not in Green ) or \n\t\t\t \t\t\talways s not in Green implies eventually (s in Green) )\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "FwCGymHmbqcziisH5", "original": "FwCGymHmbqcziisH5", "theme": {"currentFramePosition": {}, "currentlyProjectedSigs": [], "generalSettings": {"currentLayout": "breadthfirst", "metaPrimSigs": [{"parent": null, "type": "univ"}, {"parent": "Feedback", "type": "AcceptedInvalidInstance"}, {"parent": "univ", "type": "Feedback"}, {"parent": "univ", "type": "Int"}, {"parent": "Track", "type": "Junction"}, {"parent": "Feedback", "type": "RejectedValidInstance"}, {"parent": "univ", "type": "Signal"}, {"parent": "univ", "type": "String"}, {"parent": "univ", "type": "Track"}, {"parent": "univ", "type": "Train"}, {"parent": "null", "type": "univ"}, {"parent": "Int", "type": "seq/Int"}, {"parent": "Feedback", "type": "AcceptedInvalidInstance"}, {"parent": "univ", "type": "Feedback"}, {"parent": "univ", "type": "Int"}, {"parent": "Track", "type": "Junction"}, {"parent": "Feedback", "type": "RejectedValidInstance"}, {"parent": "univ", "type": "Signal"}, {"parent": "univ", "type": "String"}, {"parent": "univ", "type": "Track"}, {"parent": "univ", "type": "Train"}, {"parent": "null", "type": "univ"}, {"parent": "Int", "type": "seq/Int"}], "metaSubsetSigs": [{"parent": "Track", "type": "this/Entry:Track"}, {"parent": "Track", "type": "this/Exit:Track"}]}, "nodePositions": {}, "relationSettings": {"edgeColors": [{"color": "#0074D9", "relation": "pos"}, {"color": "#0074D9", "relation": "signal"}, {"color": "#0074D9", "relation": "prox"}], "edgeStyles": [{"edgeStyle": "solid", "relation": "pos"}, {"edgeStyle": "solid", "relation": "signal"}, {"edgeStyle": "solid", "relation": "prox"}], "showAsArcs": [{"relation": "general", "showAsArcs": true}, {"relation": "pos", "showAsArcs": true}, {"relation": "signal", "showAsArcs": true}, {"relation": "AcceptedInvalidInstance", "showAsArcs": true}, {"relation": "Junction", "showAsArcs": true}, {"relation": "this/Entry:Junction", "showAsArcs": true}, {"relation": "this/Exit:Junction", "showAsArcs": true}, {"relation": "Train", "showAsArcs": true}, {"relation": "prox", "showAsArcs": true}, {"relation": "Track", "showAsArcs": true}, {"relation": "this/Entry:Track", "showAsArcs": true}, {"relation": "Signal", "showAsArcs": true}, {"relation": "this/Green:Signal", "showAsArcs": true}, {"relation": "RejectedValidInstance", "showAsArcs": true}], "showAsAttributes": [{"relation": "signal", "showAsAttributes": false}, {"relation": "pos", "showAsAttributes": false}, {"relation": "prox", "showAsAttributes": false}]}, "sigSettings": {"nodeBorders": [{"border": "solid", "type": "univ"}, {"border": "inherit", "type": "AcceptedInvalidInstance"}, {"border": "inherit", "type": "Feedback"}, {"border": "inherit", "type": "Int"}, {"border": "inherit", "type": "this/Entry:Junction"}, {"border": "inherit", "type": "Junction"}, {"border": "inherit", "type": "Track"}, {"border": "inherit", "type": "this/Green:Signal"}, {"border": "inherit", "type": "Signal"}, {"border": "inherit", "type": "Train"}, {"border": "inherit", "type": "seq/Int"}, {"border": "inherit", "type": "general"}, {"border": "inherit", "type": "this/Exit:Junction"}, {"border": "inherit", "type": "this/Entry:Track"}, {"border": "inherit", "type": "RejectedValidInstance"}, {"border": "inherit", "type": "this/Exit:Track"}], "nodeColors": [{"color": "#2ECC40", "type": "univ"}, {"color": "#AAAAAA", "type": "AcceptedInvalidInstance"}, {"color": "inherit", "type": "Feedback"}, {"color": "inherit", "type": "Int"}, {"color": "inherit", "type": "this/Entry:Junction"}, {"color": "#0074D9", "type": "Junction"}, {"color": "#0074D9", "type": "Track"}, {"color": "#2ECC40", "type": "this/Green:Signal"}, {"color": "#FF4136", "type": "Signal"}, {"color": "#FFDC00", "type": "Train"}, {"color": "inherit", "type": "seq/Int"}, {"color": "inherit", "type": "general"}, {"color": "inherit", "type": "this/Exit:Junction"}, {"color": "inherit", "type": "this/Entry:Track"}, {"color": "#AAAAAA", "type": "RejectedValidInstance"}, {"color": "inherit", "type": "this/Exit:Track"}], "nodeShapes": [{"shape": "ellipse", "type": "univ"}, {"shape": "octagon", "type": "AcceptedInvalidInstance"}, {"shape": "inherit", "type": "Feedback"}, {"shape": "inherit", "type": "Int"}, {"shape": "inherit", "type": "this/Entry:Junction"}, {"shape": "inherit", "type": "Junction"}, {"shape": "rectangle", "type": "Track"}, {"shape": "inherit", "type": "this/Green:Signal"}, {"shape": "inherit", "type": "Signal"}, {"shape": "pentagon", "type": "Train"}, {"shape": "inherit", "type": "seq/Int"}, {"shape": "inherit", "type": "general"}, {"shape": "inherit", "type": "this/Exit:Junction"}, {"shape": "inherit", "type": "this/Entry:Track"}, {"shape": "octagon", "type": "RejectedValidInstance"}, {"shape": "inherit", "type": "this/Exit:Track"}], "nodeVisibility": [{"type": "univ", "visibility": false}, {"type": "Int", "visibility": true}, {"type": "seq/Int", "visibility": true}, {"type": "general", "visibility": false}, {"type": "AcceptedInvalidInstance", "visibility": false}, {"type": "this/Entry:Junction", "visibility": false}, {"type": "this/Green:Signal", "visibility": false}, {"type": "Train", "visibility": false}, {"type": "Junction", "visibility": false}, {"type": "this/Exit:Junction", "visibility": false}, {"type": "Signal", "visibility": false}, {"type": "this/Entry:Track", "visibility": false}, {"type": "Track", "visibility": false}, {"type": "RejectedValidInstance", "visibility": false}, {"type": "this/Exit:Track", "visibility": false}]}}, "time": "2021-1-13 22:03:01"} {"_id": "pkZyHanaNE5YZgAxc", "cmd_c": true, "cmd_i": 10, "cmd_n": "prop11ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (pos.(~pos) in iden)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\talways (all j:Junction | lone ((prox.j).signal&Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\tall t:Train | always one t.pos implies once t.pos in Entry\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "kqhofdfFxhKxzCqmG", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 19:46:59"} {"_id": "d88yM8dekajcS4qJ3", "cmd_i": 8, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t (all t:Train |some (t.pos.prox & Entry ) eventually ( some t.pos and t.pos in Entry) )\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "sp45rNqF9y6T9R68v", "msg": "There are 1 possible tokens that can appear here:\n)", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-13 23:31:26"} {"_id": "22PE9FyqnSW852nTT", "cmd_c": true, "cmd_i": 6, "cmd_n": "prop7ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (pos.(~pos) in iden)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways (all t:pos.Track | (t.pos)' in t.pos.next)\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\talways (all t:pos.Track | eventually no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\talways (all j:Junction | lone ((prox.j).signal&Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n \t\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\t\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\t\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\t\n}", "derivationOf": "NxoNdQLLYgoREQdrg", "msg": "The join operation here always yields an empty set.\nLeft type = {this/Track}\nRight type = {Int->Int}", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-29 14:49:55"} {"_id": "R48ucRG4vgMxyXZpk", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways (t : Train | t.pos = t.pos')\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (all t : Track | lone pos.t)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "usqbZeJGujCAMvExw", "msg": "There are 1 possible tokens that can appear here:\n)", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 16:14:40"} {"_id": "9MBL3qff6iSNvnACo", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "8dzHTZXRseFTkcjjt", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-25 23:19:51"} {"_id": "mbnnwfGnRb26E956H", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t: Train | always one tr: Track | always (t in pos.tr implies t' in pos.tr)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "5cvSyRo9P5DQTEQ67", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 22:31:51"} {"_id": "WT3mSeGqzG6Qqi5QL", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "E776zvvfhNjZd5eC7", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-24 22:57:21"} {"_id": "uHnLpPBn3FtuCB2mj", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n }\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways (no Track.prox)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\t\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "7TpYYMG64Nq3LdkBf", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-11 17:20:21"} {"_id": "DAFKZ4qRZhNGK6ajT", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall disj s1, s2 : Signal | always s1.pos != s2.pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "row4qJpDvf2qxo94C", "msg": "The join operation here always yields an empty set.\nLeft type = {this/Signal}\nRight type = {this/Train->this/Track}", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-17 00:06:01"} {"_id": "YhBEEGQez3QuwJ3nB", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n always all t: Train | always t.pos implies after t' in t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "YHdiFcsdke6XDoNDp", "msg": "This expression failed to be typechecked line 46, column 25, filename=/tmp/alloy_heredoc7499252306172384403.als", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-12-2 22:46:46"} {"_id": "RYT2hNE2ydM3MpcDm", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\teventually no (Signal-Green)\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "x8xiD6YaAn6FXxwyP", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 22:57:48"} {"_id": "2XAvrcato3f6Ft5j6", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t all t:Train | some Track and t.pos not in Entry implies before no t.pos and eventually ( some t.pos & Entry) \n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "vTvARtag9knJyeMGo", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:41:08"} {"_id": "Kr44ZJpFHKXW6XZfP", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t : Track | always lone t.~pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways all t : Train {\n \t((t.pos = Exit) implies (no t.pos'))\n \t\t or\n (t.pos' in t.pos.prox)\n \t}\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\tall t : Track | always ((some t.signal) implies (t.signal != t.signal'))\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "odsNTKD4XhMc6JiGG", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-12-17 00:36:08"} {"_id": "cEyhPCpFSELFoCwrJ", "cmd_c": true, "cmd_i": 13, "cmd_n": "prop14ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\talways ( all t:Train | eventually (some t.pos and one (t.pos.signal :>Green) and t.pos' !=t. pos and some t.pos' ) implies (t.pos.signal in Signal-Green) )\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "bqnKqc3onGucSDnH6", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 20:00:38"} {"_id": "47kGb6MLfvciY5Edz", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways Signal != Signal'\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "YfMZ9Eyoo2LW8M8hw", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 23:08:13"} {"_id": "jvfZ9kFpF6JBbZYC4", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways( all t:Train | some t.pos :> Exit implies eventually (no t.pos) )\n\talways( all t:Train | some t.pos :> (Track-Exit) implies eventually (t.pos in t.pos.prox) )\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways ( all s : Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green) )\n}\n\n\npred prop7 {\n\t\n\talways ( all t:Train | some t.pos :> Track implies eventually no t.pos :> Track )\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal not in Green) implies t.pos' = t.pos )\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\talways ( all t:Train | eventually t.pos in Entry )\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "KrzvSrC9p9wEB6yJK", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:20:13"} {"_id": "RKoxwQt6QDTZruMj8", "cmd_c": true, "cmd_i": 16, "cmd_n": "prop17ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n \n \n\n \n \n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \t\tsome pos => one Train.pos:>Exit since one pos\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "X8SvhF2H2ihkAQbvT", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 20:49:20"} {"_id": "aDdZuuLH6SEsXp5gp", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways( all t:Train | some t.pos :> Exit implies eventually (no t.pos) )\n\talways( all t:Train | some t.pos :> (Track-Exit) implies eventually (t.pos in t.pos.prox) )\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways ( all s : Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green) )\n}\n\n\npred prop7 {\n\t\n\talways ( all t:Train | some t.pos :> Track implies eventually no t.pos :> Track )\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal not in Green) implies t.pos' = t.pos )\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\talways ( all t:Train | (no t.pos) triggered (t.pos' in Entry) )\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "9RY8g6z89pHyshrqq", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:12:18"} {"_id": "7ww6NXdhvHRh3P8nq", "cmd_i": 5, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways (some s:Signal | (s in Green implies always (no (s & Green'))) or no (s & Green) implies always (some (s & Green'))) )\n\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "PyhkXqHq8SHAv77jB", "msg": "There are 38 possible tokens that can appear here:\n! # ( * @ Int NAME NUMBER STRING String Time ^ after all always before disj eventually fun historically iden int let lone no none once one pred seq set some sum this univ { } ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-26 11:39:26"} {"_id": "qi8ST9x7kJWppfrgW", "cmd_i": 7, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (pos.(~pos) in iden)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n \talways (all s:Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green))\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\talways (all t:pos.Track | eventually no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:pos.Track.signal.(Signal-Green) | t.pos=(t.pos)' until t.pos.signal in Green )\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\talways (all j:Junction | lone ((prox.j).signal&Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n \t\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\t\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\t\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\t\n}", "derivationOf": "8hjG67FqZkzEBSptP", "msg": "This cannot be a legal relational join where\nleft hand side is <integer/pos[];(this/Train <: pos);> . this/Track . (this/Track <: signal) (type = {none})\nright hand side is this/Signal - this/Green (type = {this/Signal})", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-29 14:55:56"} {"_id": "Hh3AAivmmG7jN5DQg", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Jsjy39X9wMEb5Kviq", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-12-2 22:37:47"} {"_id": "8hQfq34bpEvym6gFS", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n \t\n \tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n all t:Train |{\n \talways (t.pos in Exit implies t.pos'=t.pos)\n \t\n }\n \t\n}\n\n\npred prop6 {\n\t\n\talways (all s:Signal | always (s in Green) implies eventually (s not in Green ) or \n\t\t\t \t\t\talways s not in Green implies eventually (s in Green) )\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "hMtoGtPKo9F8wZgaA", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 21:58:18"} {"_id": "wcbm9Ffb7piK9G2Su", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways ( all s : Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green) )\n}\n\n\npred prop7 {\n\t\n\talways ( all t:Train | some t.pos :> Track implies eventually no t.pos :> Track )\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal not in Green) implies t.pos' = t.pos )\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t\n\talways ( all j:Junction | lone ( (prox.j).signal & Green ) )\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Tx2Gqm3JkMDQ5JNNY", "original": "FwCGymHmbqcziisH5", "theme": {"currentFramePosition": {}, "currentlyProjectedSigs": [], "generalSettings": {"currentLayout": "breadthfirst", "metaPrimSigs": [{"parent": null, "type": "univ"}, {"parent": "Feedback", "type": "AcceptedInvalidInstance"}, {"parent": "univ", "type": "Feedback"}, {"parent": "univ", "type": "Int"}, {"parent": "Track", "type": "Junction"}, {"parent": "Feedback", "type": "RejectedValidInstance"}, {"parent": "univ", "type": "Signal"}, {"parent": "univ", "type": "String"}, {"parent": "univ", "type": "Track"}, {"parent": "univ", "type": "Train"}, {"parent": "null", "type": "univ"}, {"parent": "Int", "type": "seq/Int"}, {"parent": "Feedback", "type": "AcceptedInvalidInstance"}, {"parent": "univ", "type": "Feedback"}, {"parent": "univ", "type": "Int"}, {"parent": "Track", "type": "Junction"}, {"parent": "Feedback", "type": "RejectedValidInstance"}, {"parent": "univ", "type": "Signal"}, {"parent": "univ", "type": "String"}, {"parent": "univ", "type": "Track"}, {"parent": "univ", "type": "Train"}, {"parent": "null", "type": "univ"}, {"parent": "Int", "type": "seq/Int"}, {"parent": "Feedback", "type": "AcceptedInvalidInstance"}, {"parent": "univ", "type": "Feedback"}, {"parent": "univ", "type": "Int"}, {"parent": "Track", "type": "Junction"}, {"parent": "Feedback", "type": "RejectedValidInstance"}, {"parent": "univ", "type": "Signal"}, {"parent": "univ", "type": "String"}, {"parent": "univ", "type": "Track"}, {"parent": "univ", "type": "Train"}, {"parent": "null", "type": "univ"}, {"parent": "Int", "type": "seq/Int"}], "metaSubsetSigs": [{"parent": "Track", "type": "this/Entry:Track"}, {"parent": "Track", "type": "this/Exit:Track"}, {"parent": "Signal", "type": "this/Green:Signal"}]}, "nodePositions": {"AcceptedInvalidInstance": {"x": 821.7599609375, "y": 99.56666564941406}, "Signal": {"x": 513.5999755859375, "y": 298.6999969482422}, "Track0": {"x": 513.5999755859375, "y": 199.13333129882812}, "Track1": {"x": 616.319970703125, "y": 99.56666564941406}, "Train0": {"x": 410.87998046875, "y": 99.56666564941406}, "Train1": {"x": 205.43999023437505, "y": 99.56666564941406}}, "relationSettings": {"edgeColors": [{"color": "#0074D9", "relation": "pos"}, {"color": "#0074D9", "relation": "signal"}, {"color": "#0074D9", "relation": "prox"}], "edgeStyles": [{"edgeStyle": "solid", "relation": "pos"}, {"edgeStyle": "solid", "relation": "signal"}, {"edgeStyle": "solid", "relation": "prox"}], "showAsArcs": [{"relation": "general", "showAsArcs": true}, {"relation": "pos", "showAsArcs": true}, {"relation": "signal", "showAsArcs": true}, {"relation": "AcceptedInvalidInstance", "showAsArcs": true}, {"relation": "Junction", "showAsArcs": true}, {"relation": "this/Entry:Junction", "showAsArcs": true}, {"relation": "this/Exit:Junction", "showAsArcs": true}, {"relation": "Train", "showAsArcs": true}, {"relation": "prox", "showAsArcs": true}, {"relation": "Track", "showAsArcs": true}, {"relation": "this/Entry:Track", "showAsArcs": true}, {"relation": "Signal", "showAsArcs": true}, {"relation": "this/Green:Signal", "showAsArcs": true}, {"relation": "RejectedValidInstance", "showAsArcs": true}], "showAsAttributes": [{"relation": "signal", "showAsAttributes": false}, {"relation": "pos", "showAsAttributes": false}, {"relation": "prox", "showAsAttributes": false}]}, "sigSettings": {"nodeBorders": [{"border": "solid", "type": "univ"}, {"border": "inherit", "type": "AcceptedInvalidInstance"}, {"border": "inherit", "type": "Feedback"}, {"border": "inherit", "type": "Int"}, {"border": "inherit", "type": "this/Entry:Junction"}, {"border": "inherit", "type": "Junction"}, {"border": "inherit", "type": "Track"}, {"border": "inherit", "type": "this/Green:Signal"}, {"border": "inherit", "type": "Signal"}, {"border": "inherit", "type": "Train"}, {"border": "inherit", "type": "seq/Int"}, {"border": "inherit", "type": "general"}, {"border": "inherit", "type": "this/Exit:Junction"}, {"border": "inherit", "type": "this/Entry:Track"}, {"border": "inherit", "type": "RejectedValidInstance"}, {"border": "inherit", "type": "this/Exit:Track"}], "nodeColors": [{"color": "#2ECC40", "type": "univ"}, {"color": "#AAAAAA", "type": "AcceptedInvalidInstance"}, {"color": "inherit", "type": "Feedback"}, {"color": "inherit", "type": "Int"}, {"color": "inherit", "type": "this/Entry:Junction"}, {"color": "#0074D9", "type": "Junction"}, {"color": "#0074D9", "type": "Track"}, {"color": "#2ECC40", "type": "this/Green:Signal"}, {"color": "#FF4136", "type": "Signal"}, {"color": "#FFDC00", "type": "Train"}, {"color": "inherit", "type": "seq/Int"}, {"color": "inherit", "type": "general"}, {"color": "inherit", "type": "this/Exit:Junction"}, {"color": "inherit", "type": "this/Entry:Track"}, {"color": "#AAAAAA", "type": "RejectedValidInstance"}, {"color": "inherit", "type": "this/Exit:Track"}], "nodeShapes": [{"shape": "ellipse", "type": "univ"}, {"shape": "octagon", "type": "AcceptedInvalidInstance"}, {"shape": "inherit", "type": "Feedback"}, {"shape": "inherit", "type": "Int"}, {"shape": "inherit", "type": "this/Entry:Junction"}, {"shape": "inherit", "type": "Junction"}, {"shape": "rectangle", "type": "Track"}, {"shape": "inherit", "type": "this/Green:Signal"}, {"shape": "inherit", "type": "Signal"}, {"shape": "pentagon", "type": "Train"}, {"shape": "inherit", "type": "seq/Int"}, {"shape": "inherit", "type": "general"}, {"shape": "inherit", "type": "this/Exit:Junction"}, {"shape": "inherit", "type": "this/Entry:Track"}, {"shape": "octagon", "type": "RejectedValidInstance"}, {"shape": "inherit", "type": "this/Exit:Track"}], "nodeVisibility": [{"type": "univ", "visibility": false}, {"type": "Int", "visibility": true}, {"type": "seq/Int", "visibility": true}, {"type": "general", "visibility": false}, {"type": "AcceptedInvalidInstance", "visibility": false}, {"type": "this/Entry:Junction", "visibility": false}, {"type": "this/Green:Signal", "visibility": false}, {"type": "Train", "visibility": false}, {"type": "Junction", "visibility": false}, {"type": "this/Exit:Junction", "visibility": false}, {"type": "Signal", "visibility": false}, {"type": "this/Entry:Track", "visibility": false}, {"type": "Track", "visibility": false}, {"type": "RejectedValidInstance", "visibility": false}, {"type": "this/Exit:Track", "visibility": false}]}}, "time": "2021-1-13 23:59:11"} {"_id": "qrbyvgzDH2CnTkQGi", "cmd_i": 3, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n\t\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (t1,t2:Train | t1->pos not t2->pos)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "ujij5Z65N4JXutFrd", "msg": "There are 1 possible tokens that can appear here:\n)", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-26 11:44:19"} {"_id": "cpDSBFumqPDABmbeE", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n \n all s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "PP2yDqFDniHwepwaQ", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-25 23:19:08"} {"_id": "MCwMRxbKQfiSAtuJ6", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t: Train | {let x = t.pos} after t.pos = x\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "wbSFKcoMMsaf6Ykr5", "msg": "There are 3 possible tokens that can appear here:\n, { |", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 22:41:50"} {"_id": "BFQjCr4piMzBaqJo2", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal - Green | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\tall t : Train , p : t.pos | always (t.pos = p)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "DYn6qhCMDzs4uGk3M", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 21:34:45"} {"_id": "84W46nvDDaij3cdo2", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n (all t:Train| eventually (no t.pos and after one t.pos:>Entry) )\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "6Mb9qhHMLcY6LJyQ4", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 20:27:16"} {"_id": "EiuDnnCkoEhuuyYdu", "cmd_c": true, "cmd_i": 9, "cmd_n": "prop10ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)'=t.pos) \n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways (all t:pos.Track | (t.pos)' in t.pos + t.pos.prox or (t.pos in Exit and (t.pos)' in t.pos))\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\talways (all t:pos.Track | eventually no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\talways (all j:Junction | lone (prox.j).signal & Green)\n \talways (lone (prox.Junction).signal & Green)\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "ThrCm5LGiFGt38oco", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-12-1 21:07:42"} {"_id": "wH6jfst8zafdfd9ce", "cmd_c": true, "cmd_i": 7, "cmd_n": "prop8ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways (all t:Train | (some t.pos and some t.pos.signal and some t.pos.prox) and ((t.pos.signal) in (Signal-Green) implies (some t.pos') since eventually ((t.pos.signal) in Green)))\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "qbE27Thj6SiqqBif2", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:53:32"} {"_id": "QPficJ3hxyL4e4eii", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green \n}\n\n\npred prop3 {\n\t// Trains never move\n always all t: Train, tk: Track | t->tk in pos and t->tk not in pos implies always t->tk in pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "sLBxqJjKY4Bzz9twk", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 22:51:59"} {"_id": "4fNukhWP7Dy7xLwq2", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways all s: Signal | always s in Green implies s' not in Green\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "S6jBqWKutg4jxCEge", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 22:54:26"} {"_id": "4NHh2AwbMFrrsxpSv", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "FwCGymHmbqcziisH5", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-12-1 20:46:55"} {"_id": "vF2err7gsNC6Hs8db", "cmd_c": true, "cmd_i": 11, "cmd_n": "prop12ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)'=t.pos) \n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways (all t:pos.Track | (t.pos)' in t.pos + t.pos.prox or (t.pos in Exit and (t.pos)' in t.pos))\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\talways (all t:pos.Track | eventually no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\talways (all j:Junction | lone (prox.j).signal & Green)\n \talways (lone (prox.Junction).signal & Green)\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\talways (all t:Train | some t.pos implies once t.pos in Entry) \n}\n\n\npred prop12 {\n\t\n\t\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\talways (all t:Train | (once some t.pos and no t.pos) implies always no t.pos)\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "72mg9SHCbikXkvFtW", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-1 21:15:39"} {"_id": "rfD6Sg9xe9nJrjX6R", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall disj t1,t2:Train | no (t1.pos &t2.pos)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "YGspww6b5xEr754sc", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 23:13:37"} {"_id": "pCk5sDtcbe3JD4weu", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways( all t:Train | some t.pos :> Exit implies eventually (no t.pos) )\n\talways( all t:Train | some t.pos :> (Track-Exit) implies eventually (t.pos in t.pos.prox) )\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways ( all s : Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green) )\n}\n\n\npred prop7 {\n\t\n\talways ( all t:Train | some t.pos :> Track implies eventually no t.pos :> Track )\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal not in Green) implies t.pos' = t.pos )\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\tall t:Train | eventually (t.pos in Entry and before no t.pos)\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "xQ7ScDyCesEk4Peiz", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:27:17"} {"_id": "56Mgh2n7YoRtZfhF7", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t\n\talways (all s:Signal | always (s in Green) implies eventually (s not in Green ) or \n\t\t\t \t\t\talways s not in Green implies eventually (s in Green) )\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "MoyDBR8RKW2v2YwiE", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2021-1-13 22:03:29"} {"_id": "RDazKBFGWpbP6YmeQ", "cmd_i": 3, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n}\n\n\npred prop3 {\n\t// Trains never move\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways one Train.pos in Track\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "cQi6HCZrXvMJ5mAcv", "msg": "This must be a set or relation.\nInstead, it has the following possible type(s):\n{PrimitiveBoolean}", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-12-2 22:34:08"} {"_id": "fdahJAGbot3iG6GC9", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways (all t : Train | t.pos = t.pos')\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (all t : Track | lone pos.t)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways (all s : Signal | s in Green implies s not in Green' or s not in Green implies s in Green')\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "g755NW79EYamYeJmK", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 16:22:40"} {"_id": "LsN7yQm3JyFqQriEK", "cmd_i": 0, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all t = Track | lone (t.~pos)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "nRXdbHQKrcrfwMHz9", "msg": "The \"all x\" construct is no longer supported. If you know the range of possible values of x, consider rewriting it as \"x == set_of_all_possible_values\".", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-14 01:22:19"} {"_id": "AspHXJtbhq4wBxo3t", "cmd_c": true, "cmd_i": 15, "cmd_n": "prop16ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)'=t.pos) \n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways (all t:pos.Track | (t.pos)' in t.pos + t.pos.prox or (t.pos in Exit and (t.pos)' in t.pos))\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\talways (all t:pos.Track | eventually no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\talways (all j:Junction | lone (prox.j).signal & Green)\n \talways (lone (prox.Junction).signal & Green)\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\talways (all t:Train | some t.pos implies once t.pos in Entry) \n}\n\n\npred prop12 {\n\t\n\t\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\t\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\talways (all t:pos.Track | eventually (t.pos)' != t.pos)\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:pos.Exit | (always some t.pos) since t.pos in Entry)\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\t\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\t\n}", "derivationOf": "D4yACXSAPnabDMaty", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-1 21:36:42"} {"_id": "kt9sbAGdFcQT7FBwh", "cmd_i": 3, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green \n}\n\n\npred prop3 {\n\t// Trains never move\n \n all t: Train, tk: Track | (t->tk in pos implies always t->tk in pos) and (t->tk not in pos implies always t->tk not in pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n all t: Train | always t.prox.~t.prox in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "bpnRxtMyLQmGkLrA4", "msg": "~ can be used only with a binary relation.\nInstead, its possible type(s) are:\n{this/Train}", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 23:14:06"} {"_id": "7EaGc5wgqfk9NmvWX", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n }\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n}\n\n\npred prop3 {\n\t// Trains never move\n\t no Track.prox\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "ZnSXv5rwsCyDZTsJR", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-11 17:14:24"} {"_id": "megMfkHgFGYxLn44b", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\tall t : Train | always no t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "98SRPaJKG79Y7wpME", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-5 00:09:20"} {"_id": "MTPQXnMJaWirKg5CK", "cmd_i": 3, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n\t\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (all disj t1,t2:Train | some (t1.pos and t2.pos) implies t1.pos != t2.pos) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "XywCQYhHn7XgMtPXD", "msg": "This must be a formula expression.\nInstead, it has the following possible type(s):\n{this/Track}", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-26 11:48:03"} {"_id": "fwiCJZYnZBAyd8akM", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n\talways (all t:Train, k:Track | some t->k in pos implies after t->k in pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "ooLNwdScHtbE5tkhk", "original": "FwCGymHmbqcziisH5", "theme": {"currentFramePosition": {}, "currentlyProjectedSigs": [], "generalSettings": {"currentLayout": "breadthfirst", "metaPrimSigs": [{"parent": null, "type": "univ"}, {"parent": "Feedback", "type": "AcceptedInvalidInstance"}, {"parent": "univ", "type": "Feedback"}, {"parent": "univ", "type": "Int"}, {"parent": "Track", "type": "Junction"}, {"parent": "Feedback", "type": "RejectedValidInstance"}, {"parent": "univ", "type": "Signal"}, {"parent": "univ", "type": "String"}, {"parent": "univ", "type": "Track"}, {"parent": "univ", "type": "Train"}, {"parent": "null", "type": "univ"}, {"parent": "Int", "type": "seq/Int"}, {"parent": "Feedback", "type": "AcceptedInvalidInstance"}, {"parent": "univ", "type": "Feedback"}, {"parent": "univ", "type": "Int"}, {"parent": "Track", "type": "Junction"}, {"parent": "Feedback", "type": "RejectedValidInstance"}, {"parent": "univ", "type": "Signal"}, {"parent": "univ", "type": "String"}, {"parent": "univ", "type": "Track"}, {"parent": "univ", "type": "Train"}, {"parent": "null", "type": "univ"}, {"parent": "Int", "type": "seq/Int"}, {"parent": "Feedback", "type": "AcceptedInvalidInstance"}, {"parent": "univ", "type": "Feedback"}, {"parent": "univ", "type": "Int"}, {"parent": "Track", "type": "Junction"}, {"parent": "Feedback", "type": "RejectedValidInstance"}, {"parent": "univ", "type": "Signal"}, {"parent": "univ", "type": "String"}, {"parent": "univ", "type": "Track"}, {"parent": "univ", "type": "Train"}, {"parent": "null", "type": "univ"}, {"parent": "Int", "type": "seq/Int"}], "metaSubsetSigs": [{"parent": "Track", "type": "this/Entry:Track"}, {"parent": "Track", "type": "this/Exit:Track"}, {"parent": "Signal", "type": "this/Green:Signal"}]}, "nodePositions": {"RejectedValidInstance": {"x": 684.7999674479166, "y": 99.56666564941406}, "Signal0": {"x": 684.7999674479166, "y": 199.13333129882812}, "Signal1": {"x": 684.7999674479166, "y": 298.6999969482422}, "Track0": {"x": 342.39998372395837, "y": 199.13333129882812}, "Track1": {"x": 342.39998372395837, "y": 298.6999969482422}, "Track2": {"x": 855.9999593098958, "y": 99.56666564941406}, "Track3": {"x": 513.5999755859375, "y": 99.56666564941406}, "Train0": {"x": 342.39998372395837, "y": 99.56666564941406}, "Train1": {"x": 171.19999186197919, "y": 99.56666564941406}}, "relationSettings": {"edgeColors": [{"color": "#0074D9", "relation": "pos"}, {"color": "#0074D9", "relation": "signal"}, {"color": "#0074D9", "relation": "prox"}], "edgeStyles": [{"edgeStyle": "solid", "relation": "pos"}, {"edgeStyle": "solid", "relation": "signal"}, {"edgeStyle": "solid", "relation": "prox"}], "showAsArcs": [{"relation": "general", "showAsArcs": true}, {"relation": "pos", "showAsArcs": true}, {"relation": "signal", "showAsArcs": true}, {"relation": "AcceptedInvalidInstance", "showAsArcs": true}, {"relation": "Junction", "showAsArcs": true}, {"relation": "this/Entry:Junction", "showAsArcs": true}, {"relation": "this/Exit:Junction", "showAsArcs": true}, {"relation": "Train", "showAsArcs": true}, {"relation": "prox", "showAsArcs": true}, {"relation": "Track", "showAsArcs": true}, {"relation": "this/Entry:Track", "showAsArcs": true}, {"relation": "Signal", "showAsArcs": true}, {"relation": "this/Green:Signal", "showAsArcs": true}, {"relation": "RejectedValidInstance", "showAsArcs": true}], "showAsAttributes": [{"relation": "signal", "showAsAttributes": false}, {"relation": "pos", "showAsAttributes": false}, {"relation": "prox", "showAsAttributes": false}]}, "sigSettings": {"nodeBorders": [{"border": "solid", "type": "univ"}, {"border": "inherit", "type": "AcceptedInvalidInstance"}, {"border": "inherit", "type": "Feedback"}, {"border": "inherit", "type": "Int"}, {"border": "inherit", "type": "this/Entry:Junction"}, {"border": "inherit", "type": "Junction"}, {"border": "inherit", "type": "Track"}, {"border": "inherit", "type": "this/Green:Signal"}, {"border": "inherit", "type": "Signal"}, {"border": "inherit", "type": "Train"}, {"border": "inherit", "type": "seq/Int"}, {"border": "inherit", "type": "general"}, {"border": "inherit", "type": "this/Exit:Junction"}, {"border": "inherit", "type": "this/Entry:Track"}, {"border": "inherit", "type": "RejectedValidInstance"}, {"border": "inherit", "type": "this/Exit:Track"}], "nodeColors": [{"color": "#2ECC40", "type": "univ"}, {"color": "#AAAAAA", "type": "AcceptedInvalidInstance"}, {"color": "inherit", "type": "Feedback"}, {"color": "inherit", "type": "Int"}, {"color": "inherit", "type": "this/Entry:Junction"}, {"color": "#0074D9", "type": "Junction"}, {"color": "#0074D9", "type": "Track"}, {"color": "#2ECC40", "type": "this/Green:Signal"}, {"color": "#FF4136", "type": "Signal"}, {"color": "#FFDC00", "type": "Train"}, {"color": "inherit", "type": "seq/Int"}, {"color": "inherit", "type": "general"}, {"color": "inherit", "type": "this/Exit:Junction"}, {"color": "inherit", "type": "this/Entry:Track"}, {"color": "#AAAAAA", "type": "RejectedValidInstance"}, {"color": "inherit", "type": "this/Exit:Track"}], "nodeShapes": [{"shape": "ellipse", "type": "univ"}, {"shape": "octagon", "type": "AcceptedInvalidInstance"}, {"shape": "inherit", "type": "Feedback"}, {"shape": "inherit", "type": "Int"}, {"shape": "inherit", "type": "this/Entry:Junction"}, {"shape": "inherit", "type": "Junction"}, {"shape": "rectangle", "type": "Track"}, {"shape": "inherit", "type": "this/Green:Signal"}, {"shape": "inherit", "type": "Signal"}, {"shape": "pentagon", "type": "Train"}, {"shape": "inherit", "type": "seq/Int"}, {"shape": "inherit", "type": "general"}, {"shape": "inherit", "type": "this/Exit:Junction"}, {"shape": "inherit", "type": "this/Entry:Track"}, {"shape": "octagon", "type": "RejectedValidInstance"}, {"shape": "inherit", "type": "this/Exit:Track"}], "nodeVisibility": [{"type": "univ", "visibility": false}, {"type": "Int", "visibility": true}, {"type": "seq/Int", "visibility": true}, {"type": "general", "visibility": false}, {"type": "AcceptedInvalidInstance", "visibility": false}, {"type": "this/Entry:Junction", "visibility": false}, {"type": "this/Green:Signal", "visibility": false}, {"type": "Train", "visibility": false}, {"type": "Junction", "visibility": false}, {"type": "this/Exit:Junction", "visibility": false}, {"type": "Signal", "visibility": false}, {"type": "this/Entry:Track", "visibility": false}, {"type": "Track", "visibility": false}, {"type": "RejectedValidInstance", "visibility": false}, {"type": "this/Exit:Track", "visibility": false}]}}, "time": "2020-11-25 21:59:51"} {"_id": "TcEpuweAvAryvqyKu", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tonce (all t:Track | t.signal = Green implies (before t.signal != Green))\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "MbffeKxGJdAvhhY5K", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-26 16:33:42"} {"_id": "psgPXeKD4HDBzjsaa", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos'=t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "a6JTsd8G2g9oZfXLM", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2021-1-8 04:34:07"} {"_id": "jHn7bKHeiAXzSYk3o", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "27CZcpNJEphhznjKu", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-12-5 00:04:14"} {"_id": "PyhkXqHq8SHAv77jB", "cmd_i": 5, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways (all s:Signal | (s in Green implies always (no (s & Green'))) or no (s & Green) implies always (some (s & Green'))) )\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "ycDpfmpeuzFo2c8iz", "msg": "There are 38 possible tokens that can appear here:\n! # ( * @ Int NAME NUMBER STRING String Time ^ after all always before disj eventually fun historically iden int let lone no none once one pred seq set some sum this univ { } ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 23:37:38"} {"_id": "YHdiFcsdke6XDoNDp", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n always all t: Train | always one t.pos implies after t' in t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "LEo5KXWH9L5fYbQqA", "msg": "Subset operator is redundant, because the left and right subexpressions are always disjoint.\nLeft type = {this/Train}\nRight type = {this/Track}", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 22:46:35"} {"_id": "W2MAuRRCmBE8kQC2q", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall tk : Track | lone pos.tk\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "PSwpQJT8Z6zw5oyoS", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 21:35:59"} {"_id": "66puv5rTezqcecams", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tall t:Track | Green not in t.signal until Green in t.signal\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "FwCGymHmbqcziisH5", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-28 15:45:11"} {"_id": "bqnKqc3onGucSDnH6", "cmd_c": true, "cmd_i": 13, "cmd_n": "prop14ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\talways ( all t:Train | eventually (some t.pos and one (t.pos.signal :>Green) and t.pos' !=t. pos ) implies (t.pos.signal in Signal-Green) )\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "NfW8cDFbCdb26QFCG", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 20:00:04"} {"_id": "Hcw55G4MbLjgY2HL8", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "PJWyn4jaHogseZmRo", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-12-5 00:05:15"} {"_id": "mqvGKzy8SXQq8sEPp", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t (all t:Train |no t.pos implies eventually ( some t.pos and t.pos in Entry) )\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "2RD3BKdMPMoPjw2vQ", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:30:12"} {"_id": "cShgGkYh4XT5j9Dos", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\tall t:Train {\n \tsome tk:t.pos {\n \t(tk in Exit) => t.pos' = t.pos - tk\n \t(tk not in Exit) => some tk2: tk.prox | t.pos' = tk2\n }\n \t} \n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "zJXuwQh3saHTdJtnk", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 21:58:43"} {"_id": "6CAboyGNzJ8ekxsiu", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n always (all t:Train|(one t.pos:> Exit and some t.pos.prox => no t.pos'))\n always (all t:Train| (one t.pos and some t.pos.prox ) => (t.pos' in t.pos.prox or t.pos'=t.pos) )\n\n \n \n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "FyBKTQ4GuLeyZMw5L", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 20:46:38"} {"_id": "Lc9329N5zwBwnWCh5", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n Train in Entry\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "aEne8the3vRMbWgb3", "msg": "Subset operator is redundant, because the left and right subexpressions are always disjoint.\nLeft type = {this/Train}\nRight type = {this/Track}", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 22:50:35"} {"_id": "Rm86nBcWSrG6qQvmN", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n \talways all t1, t2: Train | some tr1: Track | t1.pos in tr1 and t2.pos in tr1 implies t1=t2\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "xgCodt2mXPRiLuaX8", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 23:00:42"} {"_id": "mJPQjbLsADkJbwBDG", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tTrack.signal not in Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "puPdrx54duvD8nia4", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-3 10:24:47"} {"_id": "ArnMtqRtpsvhGXLLi", "cmd_i": 8, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways( all t:Train | some t.pos :> Exit implies eventually (no t.pos) )\n\talways( all t:Train | some t.pos :> (Track-Exit) implies eventually (t.pos in t.pos.prox) )\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways ( all s : Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green) )\n}\n\n\npred prop7 {\n\t\n\talways ( all t:Train | some t.pos :> Track implies eventually no t.pos :> Track )\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal not in Green) implies t.pos' = t.pos )\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\tall t:Train | some tk:Entry | (no t->tk in pos) implies eventually (t->tk in pos and before no t.pos)\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "2KwGSuj5M7q5CJe47", "msg": "This must be a set or relation.\nInstead, it has the following possible type(s):\n{PrimitiveBoolean}", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-13 23:35:03"} {"_id": "mmwRHXJnLwt6SSLTQ", "cmd_i": 4, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways all t : Train | t.pos' in t.pos.prox or Exit t.pos.next in t.pos' in Exit\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\t\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "e6tAJEZig5oczLSfA", "msg": "This must be a formula expression.\nInstead, it has the following possible type(s):\n{this/Track}", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-12-8 01:33:32"} {"_id": "7HAgCnPZxoPudLBk9", "cmd_c": true, "cmd_i": 6, "cmd_n": "prop7ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t : Track | always lone t.~pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \talways all t : Train {\n \t\t(t.pos = Exit) implies no t.pos'\n \tor\n \t(one t.pos) implies (t.pos' in t.pos.prox)\n \t}\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n \talways ((Signal-Green = Green') and (Green = Signal'-Green'))\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n \tall t : Train | (eventually always no t.pos')\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\t\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n \n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "YwBr5K9e3sqJ8YtLu", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-7 10:40:20"} {"_id": "3bNeDuP9kFsJ5BF98", "cmd_i": 4, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal - Green | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways(all t : Train | always (t.pos' = t.pos))\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\t\n \talways (all disj t1,t2 : Train | no (t1.pos & t2.pos)) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\tall t : Train | some (t.pos & Exit) implies Train' = (Train - t) else( t.pos' & t.pos.prox) \n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "DMdMBNFmH3ggB8RNB", "msg": "The then-clause and the else-clause must match.\nThe then-clause has type: {PrimitiveBoolean}\nand the else-clause has type: {this/Track}", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-13 21:52:49"} {"_id": "FgQ9BHipH5t8MsdFR", "cmd_i": 8, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\talways ( all t:Train |some t.pos eventually (t.pos in Entry))\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "8328DHReHSmEiXRQR", "msg": "There are 1 possible tokens that can appear here:\n)", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-13 23:14:26"} {"_id": "b7Tq9osWrgL4A4ryP", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "FwCGymHmbqcziisH5", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-24 19:57:13"} {"_id": "uXnpa7PXHfmZWmmSE", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n \n all s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \tno releases always pos \n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "HNgxCNbM8SdboB6fT", "msg": "There are 29 possible tokens that can appear here:\n# ( * @ Int NAME NUMBER STRING String Time ^ all disj fun iden int let lone no none one pred seq some sum this univ { ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 22:57:09"} {"_id": "v7NQv5RNxgHmYBfvC", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways( all t:Train | some t.pos :> Exit implies eventually (no t.pos) )\n\talways( all t:Train | some t.pos :> (Track-Exit) implies eventually (t.pos in t.pos.prox) )\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways ( all s : Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green) )\n}\n\n\npred prop7 {\n\t\n\talways ( all t:Train | some t.pos :> Track implies eventually no t.pos :> Track )\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal not in Green) implies t.pos' = t.pos )\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\talways ( all t:Train | no t.pos until t.pos in Entry )\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "67enGERtJnfXSfypn", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:07:35"} {"_id": "dnKywM32Rf3Tu2BBN", "cmd_c": true, "cmd_i": 6, "cmd_n": "prop7ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\tall t:Train{\n \t\talways( t.pos in Exit implies eventually no t.pos)\n \t\talways( t.pos in Entry implies eventually t.pos in t.pos.prox)\n \t}\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways ( all s : Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green) )\n}\n\n\npred prop7 {\n\t\n\tall t:Train | t.pos in (Entry + Exit) implies eventually t.pos not in (Entry + Exit)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "T4cXp9qn3DkTGG7XH", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:31:48"} {"_id": "hEhaeHs2CkvFnZAwP", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies no t.pos')\n \n }\n}\n\n\npred prop6 {\n\t\n\talways (all s:Signal | always (s in Green) implies eventually (s not in Green ) or \n\t\t\t \t\t\talways s not in Green implies eventually (s in Green) )\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "jKoopXf52HepdoMkk", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:08:05"} {"_id": "CLhKrJSKHDzZYxTuf", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tonce (all t:Track | Green in t.signal implies (before Green not in t.signal))\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "TcEpuweAvAryvqyKu", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-26 16:34:10"} {"_id": "awz8dvhMhnT8NfFEC", "cmd_c": true, "cmd_i": 6, "cmd_n": "prop7ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies no t.pos')\n always (t.pos in Entry implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\talways (all t :Train|t.pos in Entry implies eventually t.pos in Exit)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "yLF46scrfj7ANFkTb", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:20:42"} {"_id": "QTbpR62Af9hDgoGSi", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n always lone pos.Track\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "PpDMmoYBJ3vR5xRMK", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 22:41:08"} {"_id": "CuvMQbLGBysQmmujw", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green \n}\n\n\npred prop3 {\n\t// Trains never move\n \n \n always pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n always pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n always all t: Train | no t.pos & Exit implies t.pos' in t.pos + t.pos.prox\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "zsAg3BijAPEm9GJbu", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-26 08:41:01"} {"_id": "rbfuqHskngQWQd4A8", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Signal & Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "KuFFeCTkHT5R8BrrS", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-12-3 10:27:37"} {"_id": "uwAocRi2ujFTcqLev", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\teventually Signal in (Signal&Green)\n \t\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "aAt935qmycgW7wg6v", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 22:58:58"} {"_id": "row4qJpDvf2qxo94C", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall disj s1, s2 : Signal | s1.pos != s2.pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "w6X7PSmxpQu99aJmR", "msg": "The join operation here always yields an empty set.\nLeft type = {this/Signal}\nRight type = {this/Train->this/Track}", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-17 00:05:49"} {"_id": "jKfDJLB3jqjoPokDD", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways (all s:Signal | (s in Green implies s not in Green') or (s not in Green implies s in Green'))\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "6eLLva3aGe2fz4m2L", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 23:29:25"} {"_id": "92JHopC6rFy6quhiN", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n \t\n \tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n all t:Train |{\n \talways (t.pos in Exit implies t.pos'= t.pos) \n \t\n }\n \t\n}\n\n\npred prop6 {\n\t\n\talways (all s:Signal | always (s in Green) implies eventually (s not in Green ) or \n\t\t\t \t\t\talways s not in Green implies eventually (s in Green) )\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "yB2M6uD76ietPSWGC", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:01:00"} {"_id": "NxZhooE9bounCPxza", "cmd_i": 1, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green \n}\n\n\npred prop3 {\n\t// Trains never move\n always all t: Train | after t.pois = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "5xFu79HjuMogRA47b", "msg": "The name \"pois\" cannot be found.", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 22:41:55"} {"_id": "6rhmcJqPkxA2eq9Hb", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways(\n\t\tall t:Train {\n \tt.pos in Exit => no t.pos'\n \tt.pos in Entry => some tk2: (t.pos).prox | t.pos' = tk2\n \t\t} \n \t)\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "bsQ52CjBrF7teoFy4", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:15:36"} {"_id": "tt2Xvy77y77FWtuuN", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n all t : Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "5NbasrAwwMRo6aBfn", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-26 10:55:10"} {"_id": "oyiMPdMoxyAJrTsdm", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n always (all t:Train| once(no t.pos and after one t.pos:>Entry) )\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "6einwgA9fcsA6BXdS", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 20:26:24"} {"_id": "wfnjN9WrwwKXxXW3w", "cmd_i": 0, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tSignal in Red\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "FwCGymHmbqcziisH5", "msg": "The name \"Red\" cannot be found.", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 22:54:55"} {"_id": "mF8fBmDQS7KKoiY9z", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\tall s : Signal | always (s in Green implies s' not in Green) or always\n (s not in Green implies s' in Green)\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "8agr4BFJcnYJLm4FH", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 23:12:50"} {"_id": "ZdhDGMguuBKSfhWkp", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\t \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\teventually (Signal = Green)\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "BR7gNNH5fJM7PFu7p", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-28 15:51:02"} {"_id": "JAHYjdrSJB4d7cjYd", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s:Signal | eventually s in Green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n always all t:Train | t.pos = t.pos'\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n all disj t1,t2:Train | always t1.pos!=t2.pos\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "FnpXH5dhd6fFHQidr", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-16 19:03:45"} {"_id": "7mPx8WThAXRWnFGh7", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\teventually (all t:Track | eventually Green in t.signal)\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "CaCTAnpbLXHc96Kia", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-26 16:44:22"} {"_id": "gDhLpTuB3GmghvKnS", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\tall t:Train | always t.pos'=t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall disj t1,t2:Train | no (t1.pos & t2.pos)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "cp2udd74Wkkai8vrp", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-8 04:32:51"} {"_id": "zz3PrsJZM2JR275tt", "cmd_c": true, "cmd_i": 11, "cmd_n": "prop12ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)'=t.pos) \n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways (all t:pos.Track | (t.pos)' in t.pos + t.pos.prox or (t.pos in Exit and (t.pos)' in t.pos))\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\talways (all t:pos.Track | eventually no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\talways (all j:Junction | lone (prox.j).signal & Green)\n \talways (lone (prox.Junction).signal & Green)\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\talways (all t:Train | some t.pos implies once t.pos in Entry) \n}\n\n\npred prop12 {\n\t\n\t\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\talways (all t:Train | (before once some t.pos and no t.pos) implies always no t.pos)\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "vF2err7gsNC6Hs8db", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-1 21:16:13"} {"_id": "qCwYpsCtPmF4gA2iF", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\teventually (Signal in (Signal&Green))\n \t\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "uwAocRi2ujFTcqLev", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 22:59:16"} {"_id": "iaj9SgKuCG4xB5Afo", "cmd_i": 4, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal - Green | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways(all t : Train | always (t.pos' = t.pos))\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\t\n \talways (all disj t1,t2 : Train | no (t1.pos & t2.pos)) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\tall t : Train | some (t.pos & Exit) implies Train' = (Train - t) else( t.pos' & t.pos.prox)) \n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "p6sasNLywyjExe5LY", "msg": "There are 38 possible tokens that can appear here:\n! # ( * @ Int NAME NUMBER STRING String Time ^ after all always before disj eventually fun historically iden int let lone no none once one pred seq set some sum this univ { } ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-13 21:53:30"} {"_id": "ZcZD8evvM2xEnhH6N", "cmd_i": 5, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways (all t : Train | t.pos = t.pos')\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (all t : Track | lone pos.t)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways (all s : Signal | s in Green implies eventually s not in Green or \n \t\t \t\ts not in Green implies s eventually s in Green)\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "wRXqQoyCoifGT5BQj", "msg": "There are 1 possible tokens that can appear here:\n)", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 16:37:44"} {"_id": "MmQzHaRRBgosvmBCw", "cmd_i": 4, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n always (all t:Train|(one t.pos:> Exit => no t.pos'))\n always (all t:Train| (one t.pos and some t.pos.prox => t.pos' in t.pos.prox ) \n always (all t:Train| no t.pos.prox => (no t.pos' or t.pos'=t.pos) )\n \n \n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "NEnasM2e5Z42Mghfv", "msg": "There are 1 possible tokens that can appear here:\n)", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-16 20:42:15"} {"_id": "wPLvspjZWSmvxg8zo", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\talways ( all t:Train |before (no prox.t) and eventually (t.pos in Entry) )\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "AJWzwCzFiWsqu333o", "msg": "The join operation here always yields an empty set.\nLeft type = {this/Track->this/Track}\nRight type = {this/Train}", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:16:50"} {"_id": "kARaPuE7h266e2Dzo", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "FwCGymHmbqcziisH5", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-12-2 22:22:07"} {"_id": "9tjsmyeG6QMaHxnd2", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\teventually Green in Signal\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "jHn7bKHeiAXzSYk3o", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-5 00:04:41"} {"_id": "JPxJwGnvvqHLkEXuN", "cmd_c": true, "cmd_i": 16, "cmd_n": "prop17ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n \n \n\n \n \n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \t\tsome Train => (one Train.pos:>Exit since one pos)\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "RKoxwQt6QDTZruMj8", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 20:49:37"} {"_id": "egRfJoe2fWzEW8kqu", "cmd_c": true, "cmd_i": 10, "cmd_n": "prop11ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\talways ( all t:Train| some t.pos implies once some t.pos :> Entry) \n \n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "eKoPYYRkqs2xWgD6u", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2021-1-13 23:58:06"} {"_id": "GFWPYCoep93qiF8RT", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (pos.(~pos) in iden)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n \talways (all s:Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green))\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\talways (all t:pos.Track | eventually no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \teventually (all t:Train | t.pos in Entry)\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\talways (all j:Junction | lone ((prox.j).signal&Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n \t\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\t\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\t\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\t\n}", "derivationOf": "qi8ST9x7kJWppfrgW", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-29 14:57:42"} {"_id": "jERJtyEiqWafScKvk", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n eventually all s: Signal | s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "pjvXtuptvxf3RigLy", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 22:35:18"} {"_id": "e8ZaYNp7PjjggKERf", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n always all t:Train| {\n\talways (t.pos in Exit implies no t.pos')\n always (t.pos in Track-Exit implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n\talways (all s:Signal | always (s in Green) implies eventually (s not in Green ) or \n\t\t\t \t\t\talways s not in Green implies eventually (s in Green) )\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "tmLmCnJbWKXG5od3p", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:12:03"} {"_id": "QqKPhoBXdAAfPyWDW", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways Signal & Green not in Signal & Green' or Signal - Green in Signal' & Green'\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\t\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "spoJuHMFrs3KXLJYp", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-8 01:42:50"} {"_id": "HkERgppDXJdm33xxK", "cmd_i": 7, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "gdzDmLiwBq5tkTDLG", "msg": "This expression failed to be typechecked line 85, column 25, filename=/tmp/alloy_heredoc1241256051483979373.als", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-13 23:09:01"} {"_id": "nbv9JNyWFf9pe6pHG", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways (all t : Train | t.pos = t.pos')\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (all t : Track | lone pos.t)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways (all s : Signal | (s in Green implies (eventually s not in Green)) or \n \t\t \t\ts not in Green implies (eventually s in Green))\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "kvsZSk8t6whPTDrff", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 16:38:57"} {"_id": "ZhvZd4Eo2JG8gHeng", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (pos.(~pos) in iden)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "kA2WFuxLGBYZyLxYZ", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-25 19:36:31"} {"_id": "cp2udd74Wkkai8vrp", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\tall t:Train | always t.pos'=t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "eDmK9yKJpWMvFHDhQ", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2021-1-8 04:31:23"} {"_id": "qSeFcAZJgopS6WwMg", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green \n}\n\n\npred prop3 {\n\t// Trains never move\n always all t: Train | after t.pos = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "NxZhooE9bounCPxza", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 22:42:02"} {"_id": "L88LDZm4e6LjvixXd", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall disj s1, s2 : (Signal-(Entry+Exit)) | always s1.pos != s2.pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "6LYo3fDNLaCW39n9K", "msg": "- is irrelevant since the right expression is redundant.\nParent's relevant type = {this/Signal}\nLeft type = {this/Signal}\nRight type = {this/Track}", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-17 00:06:50"} {"_id": "MbffeKxGJdAvhhY5K", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\talways(all t:Track | once(Green not in t.signal))\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "bNDN6BC2LTPmg4fm5", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-26 16:32:34"} {"_id": "HHucFSeWh62GWDbNG", "cmd_c": true, "cmd_i": 7, "cmd_n": "prop8ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t : Track | always lone t.~pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \talways all t : Train {\n \t\t(t.pos = Exit) implies no t.pos'\n \tor\n \t(one t.pos) implies (t.pos' in t.pos.prox)\n \t}\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n \talways all s : Signal {\n \t\t((s in Green) implies (eventually s not in Green))\n \tor\n \t((s not in Green) implies (eventually s in Green))\n \t}\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n \tall t : Train | (eventually always no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n \talways all t : ((Signal-Green).(~signal).(~pos)) | (t.pos' in t.pos.prox) implies (t.pos.signal in Green)\n\t\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n \n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "58SH4ibaxeiktQeWP", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-7 10:52:13"} {"_id": "4eAzbwbsddYarGXbk", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n always eventually Train.pos in Entry\n\t\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "qKEGgQZCP6zM2oGTC", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:20:28"} {"_id": "TiXaEvdZv4k9J5siP", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\talways (all t:Track&Entry | once Green not in t.signal)\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "x77W9AQ8iSTxu8ZNi", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-26 16:38:33"} {"_id": "Joz8Hi3RTqn4TAeTK", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "FwCGymHmbqcziisH5", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-12-16 18:35:22"} {"_id": "YfMZ9Eyoo2LW8M8hw", "cmd_i": 3, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n \talways all t1, t2: Train | always (t1.pos & t2.pos implies t1=t2)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "zGy5QwHA7g9J5G2ZH", "msg": "This must be a formula expression.\nInstead, it has the following possible type(s):\n{this/Track}", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-12-2 23:06:30"} {"_id": "AWNbHmxejmxTe5YCZ", "cmd_i": 7, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (pos.(~pos) in iden)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n \talways (all s:Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green))\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\talways (all t:pos.Track | eventually no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:pos.Track.(signal-Green) | t.pos=(t.pos)' until t.pos.signal in Green\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\talways (all j:Junction | lone ((prox.j).signal&Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n \t\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\t\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\t\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\t\n}", "derivationOf": "bYMuoaYLgcu4fraN5", "msg": "There are 1 possible tokens that can appear here:\n)", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-29 14:54:54"} {"_id": "PNTJWWLBSoH4mNhxv", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all t : Track | eventually t.signal in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n all t : Train | always t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n all t1, t2 : Train | always t1.pos != t2.pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "6AmNRS3gRx9GHCfqj", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-9 14:08:07"} {"_id": "udCZqLugmvByHzsy6", "cmd_i": 0, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\t (all f:Track f.signal = Green) until (some t:Track | Green not in t.signal)\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Hpu5e49N47swh7SeN", "msg": "There are 3 possible tokens that can appear here:\n, { |", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-28 15:50:25"} {"_id": "NXTFG9S3jdot344HJ", "cmd_i": 4, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n \t\n \tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways (all t:Train |t.pos in Entry implies (t.pos'in (t.pos.^prox)<:Exit or t.pos in Exit implies no t.pos')\n}\n\n\npred prop6 {\n\t\n\talways (all s:Signal | always (s in Green) implies eventually (s not in Green ) or \n\t\t\t \t\t\talways s not in Green implies eventually (s in Green) )\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "coGavZda8eW3sYFkd", "msg": "There are 1 possible tokens that can appear here:\n)", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-13 21:44:21"} {"_id": "uvBnHfHyiJ3uHL3un", "cmd_i": 8, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n (all t:Train| (no t.pos after one (t.pos':>Entry)) )\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "qEyNnem8pR78J4zxk", "msg": "There are 1 possible tokens that can appear here:\n)", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-16 20:32:59"} {"_id": "fJdBs9y9QeEeBQTvd", "cmd_c": true, "cmd_i": 10, "cmd_n": "prop11ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways ( all s : Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green) )\n}\n\n\npred prop7 {\n\t\n\talways ( all t:Train | some t.pos :> Track implies eventually no t.pos :> Track )\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal not in Green) implies t.pos' = t.pos )\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t\n\talways ( all j:Junction | lone ( (prox.j).signal & Green ) )\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\talways ( all t:Train | some t.pos :> (Track-Entry) implies historically ( t.pos in Entry) )\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "AsLASYqFq3tZestST", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:52:52"} {"_id": "gm2RXssLbrEzojpXw", "cmd_c": true, "cmd_i": 6, "cmd_n": "prop7ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (pos.(~pos) in iden)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways (all t:pos.Track | (t.pos)' in t.pos.prox)\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\talways (all t:pos.Track | eventually no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\talways (all j:Junction | lone ((prox.j).signal&Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n \t\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\t\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\t\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\t\n}", "derivationOf": "22PE9FyqnSW852nTT", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-29 14:50:27"} {"_id": "Af3Yc6AQj3ciMwEdw", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways Train.pos.Track\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "mbnnwfGnRb26E956H", "msg": "This cannot be a legal relational join where\nleft hand side is <integer/pos[this/Train];this/Train . (this/Train <: pos);> (type = {this/Track})\nright hand side is this/Track (type = {this/Track})", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-12-2 22:32:33"} {"_id": "XtiusCtJ32mFpu9aP", "cmd_i": 4, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\tall t:Train {\n \t\tt.pos in Exit => Train' = Train - t\n \tt.pos not in Exit => t.pos' = one (t.pos).prox\n \t}\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "SMJBQiY2SiFdDS9eX", "msg": "There are 29 possible tokens that can appear here:\n# ( * @ Int NAME NUMBER STRING String Time ^ all disj fun iden int let lone no none one pred seq some sum this univ { ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-13 21:40:21"} {"_id": "uRZznobf93EuaCoie", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t (all t:Train | eventually ( some t.pos and t.pos in Entry) ) \n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "KAPpdFmC7saNjkt3D", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:34:44"} {"_id": "S9BsCovFmFWtsMau9", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n \n all s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways pos = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Hi5C3n9sEyxHgwcqL", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 23:12:52"} {"_id": "GPiARc3AjsLSPyxB8", "cmd_i": 3, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal - Green | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways(all t : Train | always (t.pos' = t.pos))\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t : Train | t.~pos in iden \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "fQbHQXSpBKZvskvtH", "msg": "in can be used only between 2 expressions of the same arity.\nLeft type = {none}\nRight type = {univ->univ}", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-13 21:44:13"} {"_id": "2wfYCHHZFuFf9yPNm", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green \n}\n\n\npred prop3 {\n\t// Trains never move\n \n \n always prox = prox'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n always prox.~prox in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "p776tFSBMPPgrvdKK", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 23:17:40"} {"_id": "gtc5bxke4Wckpk4bx", "cmd_c": true, "cmd_i": 6, "cmd_n": "prop7ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t : Track | always lone t.~pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \talways all t : Train {\n \t\t(t.pos = Exit) implies no t.pos'\n \tor\n \t(one t.pos) implies (t.pos' in t.pos.prox)\n \t}\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n \talways ((Signal-Green = Green') and (Green = Signal'-Green'))\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n \tall t : Train | (eventually always no t.pos')\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\t\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n \n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "K6zFFDjWvG2Mcgr8W", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-7 10:37:01"} {"_id": "uu4QdcJXc7mDBhPfZ", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t\n\talways (all s:Signal | always (s in Green) implies eventually (s not in Green ) or \n\t\t\t \t\t\talways s not in Green implies eventually (s in Green) )\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "56Mgh2n7YoRtZfhF7", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:03:31"} {"_id": "LA3GhyTiw2JMHpbct", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Signal & Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t : Train | t.pos = t.pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t, t2 : Train | some (t.pos + t2.pos) => t.pos != t2.pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "NWkKNkMmntA4MzeLu", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-12-3 10:37:10"} {"_id": "dhZ8DPf47YBj42XdB", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n \t\n \tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n all t:Train |{\n \talways (t.pos in Exit implies no t.pos')\n \t\n }\n \t\n}\n\n\npred prop6 {\n\t\n\talways (all s:Signal | always (s in Green) implies eventually (s not in Green ) or \n\t\t\t \t\t\talways s not in Green implies eventually (s in Green) )\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "8hQfq34bpEvym6gFS", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 21:58:40"} {"_id": "FemPPfrtxtfwB7jrz", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal - Green | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways(all t : Train | always (t.pos' = t.pos))\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\t\n \talways (all disj t1,t2 : Train | no (t1.pos & t2.pos)) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\tall t : Train | no (t.pos & Exit) implies (t.pos' in t.pos.prox)\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "8GEdnrYPDuux58qGb", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 21:58:07"} {"_id": "bpnRxtMyLQmGkLrA4", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green \n}\n\n\npred prop3 {\n\t// Trains never move\n \n \n (Train->Track in pos implies always Train->Track in pos) and (no Train->Track & pos implies always no Train->Track & pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "gW27N2LrRiWySgHQz", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 23:12:39"} {"_id": "SsMdBXSzeCxTEyWbX", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\t(some s:Signal | s in Green) since (historically (all s:Signal | s not in Green)) \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t (all s:Signal | eventually s in Green)\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways( all t:Train | one t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "P4ytnCsDz4ZGi4b7T", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-28 16:01:45"} {"_id": "XcnDJLCroF64wr4N2", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways (all t:Trains, k:Tracks | some t.pos :> k implies after t.pos :> k)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "e9va9sN9BsSaaxqbC", "msg": "The name \"Trains\" cannot be found.", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 21:55:56"} {"_id": "98SRPaJKG79Y7wpME", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways no Train.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "AdwPAKgDxr7zdb3B3", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-5 00:08:17"} {"_id": "n6ipR5dFB5ayjY3Sd", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n no Green\n\t// Intially all signals are red\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s : Signal | eventually s in Green\n\n}\n\n\npred prop3 {\n // Trains never move\n all t : Train | always lone f.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "iJTGteFP8KpP4nDFf", "msg": "The name \"f\" cannot be found.", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-12-2 22:41:43"} {"_id": "SM7d5CNyG3bfsD2RZ", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n eventually historically Green = Signal\n}\n\n\npred prop3 {\n\t// Trains never move\n \n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "fHvXpsEWhwQWTA5jp", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 22:33:07"} {"_id": "92hpzyEgnN6zq2Jfb", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t : Track | always lone t.~pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\tall t : Train {\n \t((t.pos = Exit) implies (no t.pos'))\n \t\t or\n (t.pos' in t.pos.prox)\n \t}\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "55frXgngepY66WWoL", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-17 00:23:14"} {"_id": "4D8NZCSKAGtvbyFWu", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "tjZBDFfbC3745atFJ", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-26 10:45:17"} {"_id": "DRg6tLdWBuuFfnGfh", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green \n}\n\n\npred prop3 {\n\t// Trains never move\n always all t: Train, tk: Track | t->tk in pos implies always t->tk in pos or t->tk not in pos implies always t->tk not in pos \n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "dsSSgZveiuyar8fg8", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 22:52:36"} {"_id": "k2RRH2bFigTs9ZjY7", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n always (all t:Train|(one t.pos:> Exit => no t.pos') or (one t.pos and some t.pos.prox => t.pos' in t.pos.prox ) or pos'=pos )\n \n \n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "A6q6AfRhkNpeuy6Ar", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 20:38:21"} {"_id": "Wg7QHo38x6Syc6x6v", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n\t\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "cyRiFnz4NHF6fNqMd", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2021-1-13 21:20:58"} {"_id": "Enz7MXtoPbAwhjMzz", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\talways all s: Signal | eventually always s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "dhQDJ8gs6R989NwPS", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 22:26:36"} {"_id": "TdN2r5tsLYhfGEwHi", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tonce (all t:Track&Entry | Green not in t.signal)\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "TiXaEvdZv4k9J5siP", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-26 16:38:44"} {"_id": "WS8yq4WhSHntFYHSN", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n always (all t:Train|(one t.pos:> Exit => no t.pos') or (one t.pos and some t.pos.prox => t.pos' in t.pos.prox ) )\n \n \n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "k2RRH2bFigTs9ZjY7", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 20:38:52"} {"_id": "zLeTDYPdH8b8QBiin", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n always (all t:Train|(one t.pos:> Exit => no t.pos'))\n always (all t:Train| (one t.pos and some t.pos.prox => t.pos' in t.pos.prox ) )\n always (all t:Train| (no t.pos.prox and one t.pos:> Track-Exit) => (no t.pos' or t.pos'=t.pos) )\n \n \n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "gYqpadfYdrfsWM2FG", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 20:43:43"} {"_id": "McdHrMRfkjfk8WSbr", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal - Green | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\tno Train.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Ss4mYa6Db6NMhAwQB", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 21:31:19"} {"_id": "e7hw57NGghhfmJcEy", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos'=t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "psgPXeKD4HDBzjsaa", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2021-1-8 04:41:49"} {"_id": "e6tAJEZig5oczLSfA", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways all t : Train | t.pos' in t.pos.prox or t.pos' in Exit\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\t\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "uzups8rY62xC5nAiR", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-8 01:33:13"} {"_id": "zTHwM7WBxGLu4KyTv", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t : Track | always lone t.~pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \talways all t : Train {\n \t\t(t.pos = Exit) implies no t.pos'\n \tor\n \t(one t.pos) implies (t.pos' in t.pos.prox)\n \t}\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n \talways all s : Signal {\n \t\t((s in Green) implies (eventually s not in Green))\n \tor\n \t((s not in Green) implies (eventually s in Green))\n \t}\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n \tall t : Train | (eventually always no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n \talways all t : ((Signal-Green).(~signal).(~pos)) | (t.pos' in t.pos.prox) implies (t.pos.signal in Green)\n\t\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n \n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n \talways all t : Train | (one t.pos and no t.pos') implies (always no t.pos')\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always all t : Train | some t.pos implies eventually t.pos != t.pos'\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "P8h5zQQX4fz9Npg2B", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-7 11:04:40"} {"_id": "a5pS6TeY7yZDsqPdQ", "cmd_c": true, "cmd_i": 13, "cmd_n": "prop14ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\talways ( all t:Train | (some t.pos and one (t.pos.signal :>Green) )implies (t.pos'.signal in Signal-Green) )\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "ktarPcc37MrTky56p", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 19:54:22"} {"_id": "Ya5caPxcBkTeNwbWC", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n always all s : Signal | s in Green => no s & Green' or no s & Green => s in Green'\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\t\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "HJ7TyYcpaoisWTLt6", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-8 01:25:12"} {"_id": "GfeS9mhD2rdLwic2a", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\teventually all s:Signal | s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "odX2bAjdDog4LBEgi", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 21:47:23"} {"_id": "sv4SWhCRXW67QgMhY", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tbefore no (Signal & Green)\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "FwCGymHmbqcziisH5", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 21:37:21"} {"_id": "qKEGgQZCP6zM2oGTC", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \teventually Train.pos in Entry\n\t\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Wbwgwm5Hiej86HvRX", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:18:35"} {"_id": "LHjRLwYERrHh55n6K", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n always all t: Train | always t.pos = after t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "4ezYNgj5bMy2Cj9s4", "msg": "There are 29 possible tokens that can appear here:\n# ( * @ Int NAME NUMBER STRING String Time ^ all disj fun iden int let lone no none one pred seq some sum this univ { ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-12-2 22:47:35"} {"_id": "AaW2NXWj88SCt5Deg", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\t\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (pos).(~pos) in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "kcy6XnnXoqr33JDs5", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-24 23:01:09"} {"_id": "Hi5C3n9sEyxHgwcqL", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n \n all s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways ((Train->Track - pos) + pos) = ((Train->Track - pos) + pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "SvDT9BtnTboc8yzC9", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 23:11:39"} {"_id": "Ss4mYa6Db6NMhAwQB", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal - Green | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\tno pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "XH7hHARLep4hgoTL2", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 21:31:08"} {"_id": "K2WCivB6GJNBQvLtY", "cmd_i": 7, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways (all t:Train | (some t.pos.signal and some t.pos.prox) and ( (t.pos.signal) in (Signal-Green) implies ((t.pos in t.pos.prox) since (t.pos.signal in Green))\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "iSjkjcSoGpZd5Fjyy", "msg": "There are 1 possible tokens that can appear here:\n)", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-13 22:59:16"} {"_id": "KQbLKEKGEAZZFPg8t", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\talways (all t:Entry | Green not in t.signal)\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "4DPiwEdZaZ9GBMvqA", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-26 16:39:32"} {"_id": "SfEWdL4SKN5XBqQ2X", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n }\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n}\n\n\npred prop3 {\n\t// Trains never move\n\t\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways(lone Train.pos)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "AYTrM6dnXZErnYg5v", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-11 17:21:48"} {"_id": "HPLdS9bNjzw67rdKM", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal - Green | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways(all t : Train | always (t.pos' = t.pos))\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\t\n \talways (all disj t1,t2 : Train | no (t1.pos & t2.pos)) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\tall t : Train.pos | some (t & Exit) implies no t' \n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "g9dyGJ7d5YWMxTW9S", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 21:49:52"} {"_id": "WJnGRvBbtkHXD7yix", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n no Green\n\t// Intially all signals are red\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s : Signal | eventually s in Green\n\n}\n\n\npred prop3 {\n // Trains never move\n always all t : Train | always before t.pos /\\ after t.pos \n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "iMpP3YZBn5NG7Rqca", "msg": "Syntax error at the \\ character. HEX: \\u5c)", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-12-2 22:48:50"} {"_id": "PJWyn4jaHogseZmRo", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\teventually Signal in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "9tjsmyeG6QMaHxnd2", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-5 00:04:52"} {"_id": "wPMLMG9vWzQEbKSjc", "cmd_i": 13, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)'=t.pos) \n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways (all t:pos.Track | (t.pos)' in t.pos + t.pos.prox or (t.pos in Exit and (t.pos)' in t.pos))\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\talways (all t:pos.Track | eventually no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\talways (all j:Junction | lone (prox.j).signal & Green)\n \talways (lone (prox.Junction).signal & Green)\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\talways (all t:Train | some t.pos implies once t.pos in Entry) \n}\n\n\npred prop12 {\n\t\n\t\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\t\n}\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\talways (all t:(pos.Track).signal.Green | eventually ((t.pos)' != t.pos and after t.pos.signal not in Green))\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "ZtS8SHFp39QYnvWXx", "msg": "This cannot be a legal relational join where\nleft hand side is <integer/pos[];(this/Train <: pos);> . this/Track . (this/Track <: signal) (type = {none})\nright hand side is this/Green (type = {this/Signal})", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-12-1 21:18:53"} {"_id": "kZt9niN8mptzNBoSB", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal - Green | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways(all t : Train | always (t.pos' = t.pos))\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\t\n \talways (all disj t1,t2 : Train | no (t1.pos & t2.pos)) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n\tall t : Train | t.pos' != t.pos and no (t.pos & Exit) implies (t.pos' in t.pos.prox)\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "hPWmNbmxiS8ZWxKJS", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:03:50"} {"_id": "ekMgMNdd6NGTr2zB9", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal - Green | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways(all t : Train | always (t.pos' = t.pos))\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\t\n \talways (all t1,t2 : Train | no (t1.pos & t2.pos)) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "zTFu5yiKqwL79kLsN", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 21:44:55"} {"_id": "WeJzzmY2kmPhAYTJL", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\t (all s:Signal | s not in Green) until (some s:Signal | s in Green)\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t (all s:Signal | eventually s in Green)\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "DiLnnSYE6mWe9xNfv", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-28 15:54:39"} {"_id": "jfY7w5oQXPKEa9PyD", "cmd_i": 4, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal - Green | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways(all t : Train | always (t.pos' = t.pos))\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\t\n \talways (all disj t1,t2 : Train | no (t1.pos & t2.pos)) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\tall t : Train | some (t.pos & Exit) implies Train' = (Train - t) else( t.pos' & t.pos.prox)\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "iaj9SgKuCG4xB5Afo", "msg": "The then-clause and the else-clause must match.\nThe then-clause has type: {PrimitiveBoolean}\nand the else-clause has type: {this/Track}", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-13 21:53:38"} {"_id": "3B2CiQAW33hTw4hC8", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\t \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\teventually (all s:Signal | eventually s in Green)\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "mJFBBdhac625m5gQt", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-28 15:53:19"} {"_id": "yX5j2qRNeq9SFQ9P3", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "KavcJqrLP5bghEq4Y", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-12-9 14:04:28"} {"_id": "xNPKutuphbHiqrHQW", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\talways (all t:Entry | Green not in signal.t)\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "KQbLKEKGEAZZFPg8t", "msg": "The join operation here always yields an empty set.\nLeft type = {this/Track->this/Signal}\nRight type = {this/Track}", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-26 16:39:50"} {"_id": "F6DYdzmW45oMhxgTJ", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\t\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "5QKz22FTsHieNCKrH", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2021-1-14 01:22:52"} {"_id": "H4YMRYyaBcRnYtL6w", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": " Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green,Red in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t No cycles\n\tno t : Track | t in t.^prox\n\t Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t Intially all signals are red\n\tSignal in Red\n}\n\n\npred prop2 {\n\t Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t Trains never move\n\talways all t:Train | t.pos'=t.pos\n}\n\n\npred prop4 {\n\t There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos)\n}\n\n\npred prop5 {\n\t A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "XxupKsGevPdcdvtgk", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-8 04:48:08"} {"_id": "TAjBHpTDr6ms8QHq7", "cmd_c": true, "cmd_i": 12, "cmd_n": "prop13ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\talways ( all t:Train | eventually always no t.pos implies always(no t.pos))\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "QapkqYmMcbp5qk3KQ", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 19:41:05"} {"_id": "7mis6JZ4bJmRkQoHs", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n }\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n}\n\n\npred prop3 {\n\t// Trains never move\n\t\n}\n\n\npred prop4 {\n\t\n\tall t1,t2 : Train | always no (t1.pos & t2.pos) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Y2hpfkZmRjMGxd8jT", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-11 17:27:55"} {"_id": "6MGBoMbzbjgv5Z6Ez", "cmd_c": true, "cmd_i": 14, "cmd_n": "prop15ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\teventually always (some t: Train| (no t.pos implies some t.pos) or t.pos != t.pos')\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "HKjEvhgPxeFHWrhTE", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 19:44:18"} {"_id": "uWJfKsXp3u24qNYXb", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green \n}\n\n\npred prop3 {\n\t// Trains never move\n all t: Train, tk: Track | t->tk in pos implies always t->tk in pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "9ekio5Epgedj5nzgR", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 22:46:28"} {"_id": "YY8XZxaqMHMkRF4vv", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n no Green\n\t// Intially all signals are red\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s : Signal | eventually s in Green\n\n}\n\n\npred prop3 {\n // Trains never move\n always all t : Train, pos : t.pos | always lone pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "WJnGRvBbtkHXD7yix", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 22:50:52"} {"_id": "jPBbcYgrLxTaTgiJa", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green \n}\n\n\npred prop3 {\n\t// Trains never move\n \n all t: Train, tk: Track | (t->tk in pos implies always t->tk in pos) and (t->tk not in pos implies always t->tk not in pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n all t: Train | always prox.~prox in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "hCvheJJrkRc9noqTA", "msg": "This variable is unused.", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 23:14:29"} {"_id": "42Z7XjoYfqswhjBtA", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "h5bBYzpvhzzWH72pG", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-12-2 22:53:09"} {"_id": "kpLaCdcCY4CHz7ns7", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\teventually all s: Signal | s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Enz7MXtoPbAwhjMzz", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 22:27:01"} {"_id": "349kzmwtcE6SFay96", "cmd_i": 0, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tall t:Track, g:Green | g not in t.signal until (g in t.signal))\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "7dyorajWG6n3crdk6", "msg": "There are 38 possible tokens that can appear here:\n! # ( * @ Int NAME NUMBER STRING String Time ^ after all always before disj eventually fun historically iden int let lone no none once one pred seq set some sum this univ { } ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-26 16:43:41"} {"_id": "5xh7eq5PJxHhnuJHb", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n \talways all t1, t2: Train | always lone tr1: Track | always (no t1.pos & t2.pos)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "XxGMPEs5TqPfJiMxw", "msg": "This variable is unused.", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 23:05:17"} {"_id": "ffo53KCutvnKTmBi5", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n }\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n}\n\n\npred prop3 {\n\t// Trains never move\n\t\tno Entry.prox and no Exit.prox and no Track.prox\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Kx2HuafDZdeZxkFXB", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-11 17:16:24"} {"_id": "fNZ5bNJg67dLRkDj5", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways all t : Train | t.pos' in t.pos.prox || t.pos' = Exit\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\t\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "D8Ndmbk8EeNZNvdFP", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-8 01:18:10"} {"_id": "tjZBDFfbC3745atFJ", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\teventually (all s : Signal | s in Green)\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "4zCfSm23LaNX3MGNe", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-26 10:44:38"} {"_id": "MzAtMtgNJmKW6vvQj", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways Entry & Exit in Train.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "8ZYLKYCZucDatq2ET", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-5 00:13:48"} {"_id": "hBBgeDE2BT4caXGus", "cmd_i": 3, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal - Green | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways(all t : Train | always (t.pos' = t.pos))\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t : Train | t.pos.~pos in iden \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "8X9xGmcjS5Y2QgYpC", "msg": "in can be used only between 2 expressions of the same arity.\nLeft type = {this/Train}\nRight type = {univ->univ}", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-13 21:42:49"} {"_id": "yGkquCud6kBGRdZGk", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways (all t : Train | t.pos = t.pos')\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (all t : Track | lone pos.t)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways (eventually Green not in Green')\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "nbv9JNyWFf9pe6pHG", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 16:41:32"} {"_id": "P7GzZbxsNoFnBWGWE", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t all t:Train | t.pos not in Entry and before no t.pos and eventually ( some t.pos & Entry) \n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "xzoeJzjNRveTbGj5P", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:40:23"} {"_id": "gW27N2LrRiWySgHQz", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green \n}\n\n\npred prop3 {\n\t// Trains never move\n \n \n all (Train->Track in pos implies always Train->Track in pos) and (no Train->Track & pos implies always no Train->Track & pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "98ZxKN4ooAu6P2Gjh", "msg": "The \"all x\" construct is no longer supported. If you know the range of possible values of x, consider rewriting it as \"x == set_of_all_possible_values\".", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 23:12:33"} {"_id": "ZQzr6tnhE4JdJWQfu", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s:Signal | eventually s in Green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n always all t:Train | t.pos = t.pos'\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n always one Train.pos\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "vZE8BwbQCNbstTgvm", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-16 19:02:04"} {"_id": "hPWmNbmxiS8ZWxKJS", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal - Green | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways(all t : Train | always (t.pos' = t.pos))\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\t\n \talways (all disj t1,t2 : Train | no (t1.pos & t2.pos)) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n\tall t : Train | t.pos' != t.pos implies t.pos' in t.pos.prox\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "r6GCdxZndvK7mcrfQ", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:02:46"} {"_id": "JjLA4mCtdSKgvwTdp", "cmd_i": 8, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\talways ( all t:Train |(some t.pos) eventually (t.pos in Entry))\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "FgQ9BHipH5t8MsdFR", "msg": "There are 1 possible tokens that can appear here:\n)", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-13 23:14:34"} {"_id": "XZdicZEsoYy5X5hqP", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\t(some s:Signal | s in Green) since (historically (all s:Signal | s not in Green))\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "FwCGymHmbqcziisH5", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-12-9 22:31:01"} {"_id": "DgAnBEkcY7gRH4tty", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n no Green\n\t// Intially all signals are red\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s : Signal | eventually s in Green\n\n}\n\n\npred prop3 {\n // Trains never move\n always pos' = pos\n}\n\n\npred prop4 {\n\t\n // There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "CqMALrtHXgGv85ica", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-12-2 22:55:07"} {"_id": "JjccXjAbx6dWkZrjE", "cmd_i": 4, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\tall t:Train {\n \t\tt.pos in Exit => no t.pos'\n \tt.pos not in Exit => t.pos' = some ((t.pos).prox)\n \t} \n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "eqQyufE7K9bYsiG2P", "msg": "There are 29 possible tokens that can appear here:\n# ( * @ Int NAME NUMBER STRING String Time ^ all disj fun iden int let lone no none one pred seq some sum this univ { ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-13 21:42:52"} {"_id": "NhHq6HJeM4fdPPRNF", "cmd_c": true, "cmd_i": 14, "cmd_n": "prop15ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (pos.(~pos) in iden)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n \talways (all s:Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green))\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\talways (all t:pos.Track | eventually no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \teventually (all t:Train | t.pos in Entry)\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\talways (all j:Junction | lone ((prox.j).signal&Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\talways (all t:pos.Track | once (t.pos in Entry))\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\t\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\t\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n \t\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\talways eventually (some t:Train | (t.pos)' != t.pos)\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\t\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\t\n}", "derivationOf": "jAwPgEKuT2KaGjseH", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-29 15:02:48"} {"_id": "BhGBCvigGL5dipnAf", "cmd_c": true, "cmd_i": 15, "cmd_n": "prop16ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "egzsXEQBoc4WEeQcL", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2021-1-16 20:11:56"} {"_id": "wRXqQoyCoifGT5BQj", "cmd_i": 5, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways (all t : Train | t.pos = t.pos')\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (all t : Track | lone pos.t)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways all s : Signal | \n \t\t \t\ts in Green implies eventually s not in Green or \n \t\t \t\ts not in Green implies s eventually s in Green\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Zi9whaGYDNn7Z2GxR", "msg": "This must be a formula expression.\nInstead, it has the following possible type(s):\n{this/Signal}", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 16:37:24"} {"_id": "k4HuCk9xDSjxrkb9N", "cmd_c": true, "cmd_i": 6, "cmd_n": "prop7ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t\n\talways (all s:Signal | always (s in Green) implies eventually (s not in Green ) or \n\t\t\t \t\t\talways s not in Green implies eventually (s in Green) )\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\talways (all t:Train | some (t.pos & Entry ) implies always (eventually some (t.pos & Exit) ))\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "dycmqtBQLJJXHavMs", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 10:43:00"} {"_id": "kayocSPLfXzZoER3a", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "FwCGymHmbqcziisH5", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-25 22:31:51"} {"_id": "4ww6fbNeMBsixNGnx", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n }\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall g : Signal | eventually g = Green \n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "LX6q9sq9Df59xQwbA", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-11 17:05:44"} {"_id": "NgbYFfvN9zEwJeE3i", "cmd_i": 3, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n \talways all t1, t2: Train | some tr1,tr2: Track | t1.pos.tr1 and t2.pos.tr2 implies t1=t2\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "XNGLNgjWPynrGFGEh", "msg": "This cannot be a legal relational join where\nleft hand side is <integer/pos[t1];t1 . (this/Train <: pos);> (type = {this/Track})\nright hand side is tr1 (type = {this/Track})", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-12-2 23:00:11"} {"_id": "HKjEvhgPxeFHWrhTE", "cmd_c": true, "cmd_i": 14, "cmd_n": "prop15ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\teventually always (some t: Train| t.pos != t.pos')\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "yPruPfaF6NswRjiSX", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 19:43:42"} {"_id": "FRdnH8gaBG6fT4M9D", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n always (all t:Train| eventually ( one t.pos:>Entry))\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "kcNwu65HDYvAGcLZC", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 20:22:34"} {"_id": "X993o42sk5pRKczRT", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t\n\talways (all s:Signal | (s in Green) implies eventually (s not in Green ) or \n\t\t\t \t\t\t s not in Green implies eventually (s in Green) )\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "eWmmeA4gmcKodQPpF", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-26 11:51:59"} {"_id": "iDwWo8GPkaq7oyv8T", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways all s : Signal | always (s in Green implies s' not in Green) or \n always (s not in Green implies s' in Green)\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "aB2NLTmBSDS9tWGMp", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 23:11:15"} {"_id": "ZXeAw5qCWo8YEHPeE", "cmd_i": 0, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tRed in Signal\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "FwCGymHmbqcziisH5", "msg": "The name \"Red\" cannot be found.", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-12-5 00:00:50"} {"_id": "nQQGoyRnvNPckQKf9", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways all s : Signal | s in Green => s not in Green' or s not in Green => s in Green'\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\t\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "eR6Yta2x4JXnw4aD7", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-8 01:40:37"} {"_id": "diMn5pHonJP3y5ao2", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n \t\n \tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n all t:Train |{\n \talways (t.pos in Exit implies no t.pos')\n \talways (t.pos in Entry implies (t.pos'in (t.pos.prox) )) \n }\n \t\n}\n\n\npred prop6 {\n\t\n\talways (all s:Signal | always (s in Green) implies eventually (s not in Green ) or \n\t\t\t \t\t\talways s not in Green implies eventually (s in Green) )\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "CrSPgT7BWzLQdmtZg", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 21:53:10"} {"_id": "KavcJqrLP5bghEq4Y", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "FwCGymHmbqcziisH5", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-9 14:04:10"} {"_id": "nadpT9dqmcgj3C8mg", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n \n all s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n always t : Track | lone pos.t\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "uLeYrrxowaE9jxv3E", "msg": "There are 38 possible tokens that can appear here:\n! # ( * @ Int NAME NUMBER STRING String Time ^ after all always before disj eventually fun historically iden int let lone no none once one pred seq set some sum this univ { } ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 22:40:23"} {"_id": "Y77cyAiexxdyyDDpR", "cmd_c": true, "cmd_i": 14, "cmd_n": "prop15ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (pos.(~pos) in iden)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n \talways (all s:Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green))\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\talways (all t:pos.Track | eventually no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \teventually (all t:Train | t.pos in Entry)\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\talways (all j:Junction | lone ((prox.j).signal&Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\talways (all t:pos.Track | once (t.pos in Entry))\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\t\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\t\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n \t\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\talways eventually (some t:pos.Track | (t.pos)' != t.pos)\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\t\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\t\n}", "derivationOf": "NhHq6HJeM4fdPPRNF", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-29 15:03:13"} {"_id": "8z3M4c7CJCiHCG8Yg", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "TZDhh2rLQJE4JGmoe", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2021-1-8 04:30:01"} {"_id": "89TJcnJ4ef3sudsxM", "cmd_c": true, "cmd_i": 7, "cmd_n": "prop8ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways (all t:Train | (some t.pos.prox) and ( (t.pos.signal) in (Signal-Green) implies ((t.pos in t.pos.prox) since (t.pos.signal in Green) )))\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "sFot8w3tahQhNnicm", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:01:47"} {"_id": "SddwhWPPAhz3gQwPE", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways (some s:Signal | (s in Green implies always (no (s & Green'))) or \n\t\t\tno (s & Green) implies always (some (s & Green')))\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "ygXpeYh8vmJBX6Pzb", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-26 11:43:09"} {"_id": "YAhGWCe7QaWyt798a", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n \n all s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n always pos = after pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "YWbzNC96YbcXkbunz", "msg": "There are 29 possible tokens that can appear here:\n# ( * @ Int NAME NUMBER STRING String Time ^ all disj fun iden int let lone no none one pred seq some sum this univ { ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 22:46:27"} {"_id": "hMinECMqeAkpfYHEq", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n\talways (all t:Train, k:Track | t.pos = k implies after t.pos = k)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "fwiCJZYnZBAyd8akM", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-26 09:25:38"} {"_id": "qn3jYuKQdoNsgTzCJ", "cmd_i": 5, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways (all s:Signals | (s in Green implies always (no (s & Green') )\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Ah7gCvcw4vwHCpyFY", "msg": "There are 1 possible tokens that can appear here:\n)", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 23:36:21"} {"_id": "kjiPzLq98g4oTqzSo", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n always Train.pos in one Track implies always after Train.pos in one Track\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "auuWSCrbN4tPnCc2v", "msg": "There are 29 possible tokens that can appear here:\n# ( * @ Int NAME NUMBER STRING String Time ^ all disj fun iden int let lone no none one pred seq some sum this univ { ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-12-2 22:51:36"} {"_id": "dm5fuLGgq8NXPtDXi", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n all t : train | always t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "9mevcvdhrhHjpkTAx", "msg": "The name \"train\" cannot be found.", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-26 10:52:50"} {"_id": "xit56QJ6DXr7qmEGC", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n always (all t:Train|(one t.pos:> Exit => no t.pos) or (one t.pos => t.pos' in t.pos.prox ) )\n \n \n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "cbZqSJWWoKBYhdZ9k", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 20:36:28"} {"_id": "r9zKHCwqzMTFxWXzm", "cmd_i": 8, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t all t:Train | some t.pos and (t.pos not in Entry implies before no t.pos and eventually ( some t.pos & Entry) )\n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\talways ( all t:Train| some t.pos and historically t.pos in Entry)\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\talways ( all t:Train| historically some t.pos and\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Xt47T5Y8oGkcmfBBJ", "msg": "There are 37 possible tokens that can appear here:\n! # ( * @ Int NAME NUMBER STRING String Time ^ after all always before disj eventually fun historically iden int let lone no none once one pred seq set some sum this univ { ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-13 23:54:15"} {"_id": "bvD6K7LaMhZy9nT2S", "cmd_c": true, "cmd_i": 14, "cmd_n": "prop15ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t : Track | always lone t.~pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \talways all t : Train {\n \t\t(t.pos = Exit) implies no t.pos'\n \tor\n \t(one t.pos) implies (t.pos' in t.pos.prox)\n \t}\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n \talways all s : Signal {\n \t\t((s in Green) implies (eventually s not in Green))\n \tor\n \t((s not in Green) implies (eventually s in Green))\n \t}\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n \tall t : Train | (eventually always no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n \talways all t : ((Signal-Green).(~signal).(~pos)) | (t.pos' in t.pos.prox) implies (t.pos.signal in Green)\n\t\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n \n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always all t : Train | some t.pos implies eventually t.pos != t.pos'\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "HHucFSeWh62GWDbNG", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2021-1-7 10:59:23"} {"_id": "MQeaKWF4jwqyeaxBn", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n \n all s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways pos = pos and (all t : (Train - pos.Track) | t.pos not in Track implies always t.pos not in Track)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "4NSwuo4gkLvZfpFpL", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 23:18:09"} {"_id": "qbE27Thj6SiqqBif2", "cmd_i": 7, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways (all t:Train | (some t.pos and some t.pos.signal and some t.pos.prox) and ((t.pos.signal) in (Signal-Green) implies (some t.pos') since eventually((t.pos.signal) in Green))\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Ai3YLCtZf8Ep83mpE", "msg": "There are 1 possible tokens that can appear here:\n)", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-13 22:53:21"} {"_id": "24KE86Gz2BH29eLFN", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n\t\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Wg7QHo38x6Syc6x6v", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2021-1-13 21:21:03"} {"_id": "4QRL3JXomAFHBxcrs", "cmd_c": true, "cmd_i": 14, "cmd_n": "prop15ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\t always eventually (some pos and (pos != pos'))\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "ugaTrEcokgTYR79kB", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 19:47:44"} {"_id": "AFtttsiWpvyvJpSQK", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green \n}\n\n\npred prop3 {\n\t// Trains never move\n \n \n always pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n always pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n always all t: Train | t.pos' in t.pos + t.pos.prox\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "J7G5QfqnM99Qp5aCC", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 23:26:14"} {"_id": "W3krT2iDG2fDuPJpy", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal - Green | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways(all t : Train , p : t.pos | always (t.pos = p))\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "BFQjCr4piMzBaqJo2", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 21:34:54"} {"_id": "9ekio5Epgedj5nzgR", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green \n}\n\n\npred prop3 {\n\t// Trains never move\n always all t: Train, tk: Track | t->tk in pos implies always t->tk in pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "6sq6CXRyDLvRJLaDD", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 22:46:22"} {"_id": "rhJqbsmYfntxHk2TT", "cmd_i": 1, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\t(some s:Signal | s in Green) since (historically (all s:Signal | s not in Green)) \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t (all s:Signal | eventually s in Green)\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways(\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "T6vRuLfkEt9FXiTXY", "msg": "There are 37 possible tokens that can appear here:\n! # ( * @ Int NAME NUMBER STRING String Time ^ after all always before disj eventually fun historically iden int let lone no none once one pred seq set some sum this univ { ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-28 15:57:24"} {"_id": "BsjRrmEAfEnfuNfjF", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n \n all s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways pos = pos and (Train.pos not in Track implies always Train.pos not in Track)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "DTXhzNSSHD5DcDAoB", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 23:15:26"} {"_id": "gscrAPDZop4rehAPJ", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal - Green | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways(all t : Train | always (t.pos' = t.pos))\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\t\n \talways (all disj t1,t2 : Train | no (t1.pos & t2.pos)) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n\t\n \t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\tall s : Signal | no (s & Green) implies s' = Green else s' not in Green\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "wCMQTqdnfKxNneKvg", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:09:29"} {"_id": "JpQTrqN3LHz2qG2QN", "cmd_i": 11, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)'=t.pos) \n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways (all t:pos.Track | (t.pos)' in t.pos + t.pos.prox or (t.pos in Exit and (t.pos)' in t.pos))\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\talways (all t:pos.Track | eventually no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\talways (all j:Junction | lone (prox.j).signal & Green)\n \talways (lone (prox.Junction).signal & Green)\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\talways (all t:Train | some t.pos implies once t.pos in Entry) \n}\n\n\npred prop12 {\n\t\n\t\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\t\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\talways (all t:(pos.Track).signal.Green | eventually ((t.pos)' != t.pos and after t.pos.signal not in Green))\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "zz3PrsJZM2JR275tt", "msg": "There are 38 possible tokens that can appear here:\n! # ( * @ Int NAME NUMBER STRING String Time ^ after all always before disj eventually fun historically iden int let lone no none once one pred seq set some sum this univ { } ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-12-1 21:18:34"} {"_id": "TrBSsbsWbmXvgEWn2", "cmd_c": true, "cmd_i": 16, "cmd_n": "prop17ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \t\t ( one pos => one Train.pos:>Exit )\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "seMR4A9zgWmqzXx2h", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 20:18:56"} {"_id": "q8Eg8BcMkgcDhNy7u", "cmd_i": 4, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos'=t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\tall s:Signal | s'=no s\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "znWotTJs5vdLagPts", "msg": "There are 29 possible tokens that can appear here:\n# ( * @ Int NAME NUMBER STRING String Time ^ all disj fun iden int let lone no none one pred seq some sum this univ { ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-8 04:45:36"} {"_id": "6mTY8tzh6RxWqQjRa", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s:Signal | eventually s in Green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n always all t:Train | t.pos = t.pos'\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n all t1,t2:Train | always t1.pos!=t2.pos\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "JAHYjdrSJB4d7cjYd", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-16 19:04:09"} {"_id": "yiSvNGkZvchLmDrnv", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n all t: Train | always t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "xynK92PLyCynoNcQa", "msg": "This expression failed to be typechecked line 46, column 18, filename=/tmp/alloy_heredoc891461127924996322.als", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-12-2 22:43:27"} {"_id": "pQgFhYGCYpwwgqQgw", "cmd_i": 8, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\t\n always (no t:Train | eventually no t.pos in Track-Entry)\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "4SiRNX4zwgZvoA6os", "msg": "This must be a set or relation.\nInstead, it has the following possible type(s):\n{PrimitiveBoolean}", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-13 23:11:51"} {"_id": "8dzHTZXRseFTkcjjt", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\t\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "YXySo7MaQozkuTiLh", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-25 23:18:59"} {"_id": "ddfx92eDt48qT2n5a", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\t\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways (Signal in Green and no Green' or no Green and Green' = Signal') \n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "phf8hKyL9mqFR6jZs", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-5 00:28:26"} {"_id": "ky9YJucPD3vwY9JFu", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\tall t:Train {\n some t.pos =>{\n \t\tt.pos in Exit => t.pos' = t.pos - t.pos\n \tt.pos in (Track - Exit) => {\n \t\tone tk:((t.pos).prox) | t.pos' = tk\n \t}\n }\n \t} \n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "3ipKf68NzCAzfYQwq", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 21:49:18"} {"_id": "LX6q9sq9Df59xQwbA", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n }\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Kk3juzc2jBcnrcWFj", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2021-1-11 17:05:09"} {"_id": "yYKR89wrgjpDijF5C", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n (all t:Train| eventually ( some t.pos and one t.pos:>Entry) )\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "MCjfrhCv8KCqJNSvv", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 20:28:34"} {"_id": "wuBidrmMDkzb2PwXQ", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n \t\n \tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n all t:Train |{\n \talways (t.pos in Exit implies t.pos'= t.pos)\n \t\n }\n \t\n}\n\n\npred prop6 {\n\t\n\talways (all s:Signal | always (s in Green) implies eventually (s not in Green ) or \n\t\t\t \t\t\talways s not in Green implies eventually (s in Green) )\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "gqKtXfWPGTd3rqm34", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 21:54:51"} {"_id": "R3unrZZAXJwugdgcA", "cmd_c": true, "cmd_i": 15, "cmd_n": "prop16ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (pos.(~pos) in iden)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n \talways (all s:Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green))\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\talways (all t:pos.Track | eventually no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \teventually (all t:Train | t.pos in Entry)\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\talways (all j:Junction | lone ((prox.j).signal&Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\talways (all t:pos.Track | once (t.pos in Entry))\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\t\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\t\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n \t\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\talways eventually (some t:Train | (t.pos)' != t.pos)\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:pos.Exit | (some t.pos) since t.pos in Entry)\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\t\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\t\n}", "derivationOf": "6ivssMKDeYsNfASur", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-29 15:05:21"} {"_id": "xh5HoEQudxXCoqfZK", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n \n all s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n always after ~pos.pos in iden\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "bntQ34geHuoELdzKu", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 22:42:45"} {"_id": "h5MNx9K6jx2wBA5vZ", "cmd_i": 1, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\t(some s:Signal | s in Green) since (historically (all s:Signal | s not in Green)) \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t (all s:Signal | eventually s in Green)\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways()\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "rhJqbsmYfntxHk2TT", "msg": "There are 37 possible tokens that can appear here:\n! # ( * @ Int NAME NUMBER STRING String Time ^ after all always before disj eventually fun historically iden int let lone no none once one pred seq set some sum this univ { ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-28 15:57:29"} {"_id": "cPkszC3qW7JKMBMTJ", "cmd_c": true, "cmd_i": 10, "cmd_n": "prop11ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways ( all s : Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green) )\n}\n\n\npred prop7 {\n\t\n\talways ( all t:Train | some t.pos :> Track implies eventually no t.pos :> Track )\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal not in Green) implies t.pos' = t.pos )\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t\n\talways ( all j:Junction | lone ( (prox.j).signal & Green ) )\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\talways (all t:Train | t.pos in Track implies historically t.pos in Entry)\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "frZfxBWAbZ9hSH5rz", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:49:17"} {"_id": "HQm8sHFeDsxL8MJFx", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\t\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "q7PvvFp4zTKsG4TAZ", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-12-8 01:14:33"} {"_id": "8X9xGmcjS5Y2QgYpC", "cmd_i": 3, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal - Green | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways(all t : Train | always (t.pos' = t.pos))\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t : Train | t.~pos in iden \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "3Bsge8ya3K3B9oBzz", "msg": "in can be used only between 2 expressions of the same arity.\nLeft type = {none}\nRight type = {univ->univ}", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-13 21:42:37"} {"_id": "qeKvbXEgz4KuppLNa", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n\t\n \n \n \t\n \t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways ( all s : Signal | (s in Green implies s' not in Green) and (s not in Green implies s' in Green) )\n}\n\n\npred prop7 {\n\t\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "d6Rvu3QL3AwJNnZ36", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:18:35"} {"_id": "DiLnnSYE6mWe9xNfv", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\t all s:Signal | s not in Green until (some s:Signal | s in Green)\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t (all s:Signal | eventually s in Green)\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "FJFpZ85RA5JMS3khb", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-28 15:54:26"} {"_id": "gdzDmLiwBq5tkTDLG", "cmd_i": 7, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\talways ( all t:Train | eventually \n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "gkdXqsAedwKfwEYoW", "msg": "There are 37 possible tokens that can appear here:\n! # ( * @ Int NAME NUMBER STRING String Time ^ after all always before disj eventually fun historically iden int let lone no none once one pred seq set some sum this univ { ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-13 23:08:55"} {"_id": "gYqpadfYdrfsWM2FG", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n always (all t:Train|(one t.pos:> Exit => no t.pos'))\n always (all t:Train| (one t.pos and some t.pos.prox => t.pos' in t.pos.prox ) )\n always (all t:Train| no t.pos.prox => (no t.pos' or t.pos'=t.pos) )\n \n \n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "MmQzHaRRBgosvmBCw", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 20:42:20"} {"_id": "kqhofdfFxhKxzCqmG", "cmd_c": true, "cmd_i": 10, "cmd_n": "prop11ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (pos.(~pos) in iden)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\talways (all j:Junction | lone ((prox.j).signal&Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\talways (all t:Train | one t.pos implies once t.pos in Entry)\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "mnh5upBYKpAfE2yML", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 19:45:13"} {"_id": "jAwPgEKuT2KaGjseH", "cmd_c": true, "cmd_i": 10, "cmd_n": "prop11ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (pos.(~pos) in iden)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n \talways (all s:Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green))\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\talways (all t:pos.Track | eventually no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \teventually (all t:Train | t.pos in Entry)\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\talways (all j:Junction | lone ((prox.j).signal&Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\talways (all t:pos.Track | once (t.pos in Entry))\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n \t\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\t\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\t\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\t\n}", "derivationOf": "X3ZzWDsLN7pnHzT56", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-29 14:59:16"} {"_id": "NEnasM2e5Z42Mghfv", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n always (all t:Train|(one t.pos:> Exit => no t.pos') \n\t\tor (one t.pos and some t.pos.prox => t.pos' in t.pos.prox ) \n\t\tor no t.pos.prox => (no t.pos' or t.pos=t.pos') )\n \n \n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "i7fJCAS7x2bLTKSqE", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 20:40:37"} {"_id": "w8Z5RTuvx37XYQdB9", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t\n\talways (all s:Signal | always (s in Green) implies eventually (s not in Green ) or \n\t\t\t \t\t\talways s not in Green implies eventually (s in Green) )\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "FwCGymHmbqcziisH5", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 10:33:16"} {"_id": "ds7iQDekxHJ3Xm7hQ", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal - Green | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways(all t : Train | always (t.pos' = t.pos))\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\t\n \talways (all disj t1,t2 : Train | no (t1.pos & t2.pos)) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n\t\n \t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways (all s : Signal | no (s & Green) implies s' = Green else s' not in Green)\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "BM8QuypN4HqkBHzrf", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:10:19"} {"_id": "uKSr3eE9QG2FWw79C", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall disj t1, t2 : Train | always t1.pos != t2.pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "yapEcopEENDh2BgrK", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-12-17 00:16:10"} {"_id": "XPt62bRJn3qMNEQnt", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways (all s:Signal | (s in Green implies eventually (no (s & Green'))) or \n\t\t\tno (s & Green) implies eventually (some (s & Green')))\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "M2RxcPshuMNtLDhAY", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-26 11:48:41"} {"_id": "Qhg2NnLSyFpeRNqRj", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n eventually(historically Green = Signal)\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "JFZ3hBKSbEGnCB3rR", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 22:34:08"} {"_id": "63TwSvA7ypSkhFas2", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Signal & Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t : Train | t.pos = t.pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "9F9ryk7y2ZRXY2B7Z", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-12-3 10:29:43"} {"_id": "EgrWjQcRFk5XM6HBK", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\tall t : Train | always t.pos in Entry\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\t\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "TPoXKYWctkj9wf9qb", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-8 00:55:53"} {"_id": "qzQjdCxexo5XwmBRo", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall disj t1,t2:Train | some (t1.pos &t2.pos ) implies lone ((t1.pos &t2.pos ).signal &Green)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "rfD6Sg9xe9nJrjX6R", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 23:16:13"} {"_id": "QjJo8HpfLTtgha5XE", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n \n all s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n always ~pos.pos in iden and always all t : Train | lone t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "56SimDTqpkPSSWTzf", "msg": "There are 36 possible tokens that can appear here:\n! # ( * @ Int NAME NUMBER STRING String Time ^ after all always before disj eventually fun historically iden int lone no none once one pred seq set some sum this univ { ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 22:44:21"} {"_id": "ThrCm5LGiFGt38oco", "cmd_c": true, "cmd_i": 9, "cmd_n": "prop10ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)'=t.pos) \n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways (all t:pos.Track | (t.pos)' in t.pos + t.pos.prox or (t.pos in Exit and (t.pos)' in t.pos))\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\talways (all t:pos.Track | eventually no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\t\n \talways (lone (prox.Junction).signal & Green)\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Md27pnLssJ4hAXTic", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-12-1 21:07:34"} {"_id": "ANb4ZD43cDiybhs7G", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\tall t:Train {\n \t\tt.pos in Exit => Train' = Train - t \n \tt.pos in (Track - Exit) => {\n \t\tone tk:((t.pos).prox) | t.pos' = tk\n \t}\n \t} \n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "ky9YJucPD3vwY9JFu", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 21:52:19"} {"_id": "iSjkjcSoGpZd5Fjyy", "cmd_c": true, "cmd_i": 7, "cmd_n": "prop8ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways (all t:Train | (some t.pos.signal and some t.pos.prox) and ( (t.pos.signal) in (Signal-Green) implies (t.pos in t.pos.prox) since ((t.pos.signal) in Green)))\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "gKwEGhytRDRitKhbc", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:58:06"} {"_id": "QS5PARL2AbgDhzQB2", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t all t:Train | some t.pos and (t.pos not in Entry implies before no t.pos and eventually ( some t.pos & Entry) )\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "wDSYuBbNWn4cAzCJK", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:41:47"} {"_id": "Xnfh4d6nR37WNfmKP", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\t(all t:Track | Green not in t.signal until (Green in t.signal))\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "539CKmuEYxiiPjvvA", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-26 16:42:58"} {"_id": "c3hCdbTTjAyTw7pLP", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\t\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways all t : Train, p : t.pos | t.pos' in p.prox\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "KZdRfdj9kid9hCCMd", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-5 00:21:00"} {"_id": "Jsjy39X9wMEb5Kviq", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n always all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "xsYS2FdfasvnDNXkE", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 22:36:52"} {"_id": "iDvZ52TmQy3CjwtMq", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\t\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways ~pos.pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "jRdkaK9aFMyN2Rvba", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-5 00:15:59"} {"_id": "KBiK3jjnqJu5QoMZc", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n (all t:Train| eventually ( before no t.pos and one t.pos:>Entry) )\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "yYKR89wrgjpDijF5C", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 20:29:19"} {"_id": "WvrHnDSPY9mrheRCf", "cmd_i": 5, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways (all t : Train | t.pos = t.pos')\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (all t : Track | lone pos.t)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways (all s : Signal | (s in Green implies eventually s not in Green) or (s not in Green implies s eventually s in Green))\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "5GRn83akYGHg3isKz", "msg": "There are 1 possible tokens that can appear here:\n)", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 16:33:23"} {"_id": "Pc5ox8ZgzfLqteivi", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n }\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n}\n\n\npred prop3 {\n\t// Trains never move\n\t\n}\n\n\npred prop4 {\n\t\n\t\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\tall t:Train | t.pos' in t.pos.prox\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "7mis6JZ4bJmRkQoHs", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-11 17:34:05"} {"_id": "tmLmCnJbWKXG5od3p", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies no t.pos')\n always (t.pos in Entry implies t.pos' in t.pos.prox )\n }\n}\n\n\npred prop6 {\n\t\n\talways (all s:Signal | always (s in Green) implies eventually (s not in Green ) or \n\t\t\t \t\t\talways s not in Green implies eventually (s in Green) )\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "xE3tfX2Ard2QvxQwS", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:11:27"} {"_id": "E9DWBdyRLx5DC2ptw", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green \n}\n\n\npred prop3 {\n\t// Trains never move\n \n \n always pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n always pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n always all t: Train | no t.pos & Exit implies t.pos' in t.pos + t.pos.prox\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Hz9mYKfP7vGCQFAGY", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-26 00:00:41"} {"_id": "Cq74k2osiMunZrrCj", "cmd_c": true, "cmd_i": 14, "cmd_n": "prop15ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\t always eventually (pos != pos')\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "h6DQuqiPfJRHHr9Zz", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 19:47:07"} {"_id": "JWHu5Fb9sHSjNZ5yb", "cmd_c": true, "cmd_i": 16, "cmd_n": "prop17ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \t\t ( one pos => one Train.pos:>Exit )\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "exAiyXKr8cvzssdQg", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 20:16:11"} {"_id": "P4ytnCsDz4ZGi4b7T", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\t(some s:Signal | s in Green) since (historically (all s:Signal | s not in Green)) \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t (all s:Signal | eventually s in Green)\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways( all t:Train | no pos.t)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Bv8T4MNY2hK8iJWdX", "msg": "The join operation here always yields an empty set.\nLeft type = {this/Train->this/Track}\nRight type = {this/Train}", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-28 16:01:30"} {"_id": "9499kQBpe9eJ8govP", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n \t\n \tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways (all t:Train |t.pos in Entry implies (t.pos'in (t.pos.^prox) ) or t.pos.prox in Exit implies no t.pos')\n}\n\n\npred prop6 {\n\t\n\talways (all s:Signal | always (s in Green) implies eventually (s not in Green ) or \n\t\t\t \t\t\talways s not in Green implies eventually (s in Green) )\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "6MpZmerdbumpXZCpq", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 21:48:47"} {"_id": "LTcipNGTnDR2Sjp5N", "cmd_c": true, "cmd_i": 13, "cmd_n": "prop14ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\talways ( all t:Train | (some t.pos and one (t.pos.signal :>Green) and t.pos != t.pos' )implies (t.pos.signal in Signal-Green) )\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "CtJ7kQF3K5spPC9YF", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 19:52:43"} {"_id": "YXySo7MaQozkuTiLh", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways all t: Train, tt: Track | t->tt in pos implies always t->tt in pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\t\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "TZRC9ZCkxcBHEGEjA", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 23:11:41"} {"_id": "m8poMmu2CCJuHP2dX", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t : Track | always lone t.~pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \talways all t : Train {\n \t\t(t.pos = Exit) implies no t.pos'\n \tor\n \t(one t.pos) implies (t.pos' in t.pos.prox)\n \t}\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n \talways all s : Signal {\n \t\t((s in Green) implies (eventually s not in Green))\n \tor\n \t((s not in Green) implies (eventually s in Green))\n \t}\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n \tall t : Train | (eventually always no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\t\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n \n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "GSWZJDzsoJjEBKjsv", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-7 10:43:51"} {"_id": "vZ4GxDLLuQrgMrEXr", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green \n}\n\n\npred prop3 {\n\t// Trains never move\n \n \n always prox' = prox\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n always prox.~prox in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "2wfYCHHZFuFf9yPNm", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 23:18:00"} {"_id": "pC2DWEazhAQPjdm9w", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n always Train.pos = iden\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "FwCGymHmbqcziisH5", "msg": "= can be used only between 2 expressions of the same arity, or between 2 integer expressions.\nLeft type = {this/Track}\nRight type = {univ->univ}", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-26 10:51:16"} {"_id": "phf8hKyL9mqFR6jZs", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\t\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways (Signal in Green and no Green' or no Green and Green' = Signal')\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "EoGzFEMtaQ8W8f7zm", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-5 00:27:45"} {"_id": "GeXB7MqfjkSuKAq8t", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n always all t: Train | t.pos = after t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "wwB8NZS4WxFBdigHr", "msg": "There are 29 possible tokens that can appear here:\n# ( * @ Int NAME NUMBER STRING String Time ^ all disj fun iden int let lone no none one pred seq some sum this univ { ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-12-2 22:47:59"} {"_id": "EgyMaa6fRTwhRHEbv", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n \n all s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n always all t : Track | lone pos.t\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "nadpT9dqmcgj3C8mg", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 22:40:39"} {"_id": "jKoopXf52HepdoMkk", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies no t.pos')\n \n }\n}\n\n\npred prop6 {\n\t\n\talways (all s:Signal | always (s in Green) implies eventually (s not in Green ) or \n\t\t\t \t\t\talways s not in Green implies eventually (s in Green) )\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "mJkG64KYSzoqNjFuC", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:07:42"} {"_id": "7Ded9ixP6hgY4ujmx", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green \n}\n\n\npred prop3 {\n\t// Trains never move\n \n \n always pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n always pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n always all t: Train | no t.pos & Exit implies t.pos' in t.pos + t.pos.prox\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "FwCGymHmbqcziisH5", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-26 11:46:19"} {"_id": "A4q9oSZEEwCCBH7aT", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n\t\n \n \n \t\n \t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways ( all s : Signal | (s in Green implies s' not in Green) or (s not in Green implies s' in Green) )\n}\n\n\npred prop7 {\n\t\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "qeKvbXEgz4KuppLNa", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:19:11"} {"_id": "QAyLPCtS6a3oWdsvk", "cmd_i": 5, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways (all s:Signal | (s in Green implies s not in Green') )\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "jKfDJLB3jqjoPokDD", "msg": "There are 38 possible tokens that can appear here:\n! # ( * @ Int NAME NUMBER STRING String Time ^ after all always before disj eventually fun historically iden int let lone no none once one pred seq set some sum this univ { } ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 23:29:43"} {"_id": "WTJkpfWPBsZzwmARH", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos')\n always (t.pos in Track implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways (all t:Train |(t.pos.signal) in (Signal-Green) implies (some t.pos') and ((t.pos.signal) in Green))\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "vW8LSXCJMEfx6zE6s", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:38:13"} {"_id": "7SR55twydAC9xnWWv", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t : Track | always lone t.~pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \talways all t : Train {\n \t\t(t.pos = Exit) implies no t.pos'\n \tor\n \t(one t.pos) implies (t.pos' in t.pos.prox)\n \t}\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n \talways no (Green & Green')\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\t\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n \n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "W3wPSYaYfrH5GwqhW", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-7 10:32:06"} {"_id": "YqjRS68h2NHBS2h5Q", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n \t\n \tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways (all t:Train |t.pos in Entry implies (t.pos'in (t.pos.prox) ) or t.pos in Exit implies no t.pos')\n}\n\n\npred prop6 {\n\t\n\talways (all s:Signal | always (s in Green) implies eventually (s not in Green ) or \n\t\t\t \t\t\talways s not in Green implies eventually (s in Green) )\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "cEKCKmM7P4WqBgRkM", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 21:50:29"} {"_id": "8Wtwdr5FoLWjyvz9p", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\t\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways all t : Train, p : t.pos | (t.pos)' in p.prox \n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "XXiFxKYrgScjSMzbQ", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-5 00:22:28"} {"_id": "9W46gziWPXvChcsvD", "cmd_c": true, "cmd_i": 13, "cmd_n": "prop14ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\talways ( all t:Train | eventually (some t.pos and one (t.pos.signal :>Green) and t.pos' !=t. pos and some t.pos') implies (t.pos.signal in Signal-Green) )\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually pos!=pos' \n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "iXwyuosuJo8NDRa93", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 20:02:20"} {"_id": "Xt47T5Y8oGkcmfBBJ", "cmd_c": true, "cmd_i": 9, "cmd_n": "prop10ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t all t:Train | some t.pos and (t.pos not in Entry implies before no t.pos and eventually ( some t.pos & Entry) )\n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\talways ( all t:Train| some t.pos and historically t.pos in Entry)\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "5zsipsMGAc32X2a3k", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2021-1-13 23:51:32"} {"_id": "xzoeJzjNRveTbGj5P", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t all t:Train | before no t.pos and eventually ( some t.pos & Entry) \n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "e5wbNykhnxyzBZmFi", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:36:41"} {"_id": "xKee2HzkfhHA927eo", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\tall s : Signal | always (s in Green implies s not in Green') or (s not in Green implies s in Green')\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "tQTQt8CmLJ96sTzBM", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-6 17:23:16"} {"_id": "7G5c8pSdras9v8itN", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n\talways (all t:Train, k:Track | some t.pos :> k implies after t.pos :> k)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "XsKaHEfsraLPM4JhP", "msg": "This expression failed to be typechecked line 46, column 57, filename=/tmp/alloy_heredoc568051545640713967.als", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 21:58:15"} {"_id": "7L9ciKbxvy9k2XwKL", "cmd_i": 3, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n \talways all t1, t2: Train | lone tr1: Track | always t1.pos.tr1 & t2.pos.tr2 in none\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "TR4g5o9e5Jd9A7dQd", "msg": "This cannot be a legal relational join where\nleft hand side is <integer/pos[t1];t1 . (this/Train <: pos);> (type = {this/Track})\nright hand side is tr1 (type = {this/Track})", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-12-2 23:03:34"} {"_id": "muTj8adK57JrhacdG", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\teventually (Green = Signal)\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "ehBaHfb2aLtLhGxCv", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 16:05:02"} {"_id": "qgFEGnynbKmAhcmZq", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n\t\n \talways( all t:Train | some t.pos implies after t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "fv4GswuPptzTggA3e", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 21:24:48"} {"_id": "qga5L77ZmeF6P8FKs", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n \t\n \tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n all t:Train |{\n \talways (t.pos in Exit implies no t.pos')\n \t\n \n }\n \t\n}\n\n\npred prop6 {\n\t\n\talways (all s:Signal | always (s in Green) implies eventually (s not in Green ) or \n\t\t\t \t\t\talways s not in Green implies eventually (s in Green) )\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "oQ7dH4k3uHJ3yGNWn", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:01:50"} {"_id": "uvrbwXqMXZZhFCg27", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n \n all s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n always pos in after pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "YAhGWCe7QaWyt798a", "msg": "There are 29 possible tokens that can appear here:\n# ( * @ Int NAME NUMBER STRING String Time ^ all disj fun iden int let lone no none one pred seq some sum this univ { ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 22:46:41"} {"_id": "98ZxKN4ooAu6P2Gjh", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green \n}\n\n\npred prop3 {\n\t// Trains never move\n \n \n all (Train->Track in pos implies always Train->Track in pos) and (no (Train->Track) & pos implies always no (Train->Track) & pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "X94sHRJ4YyMH6F4Z9", "msg": "The \"all x\" construct is no longer supported. If you know the range of possible values of x, consider rewriting it as \"x == set_of_all_possible_values\".", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 23:12:29"} {"_id": "Am9kKwQTTC5G2jGfP", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways no Track\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "khtBhPh4okGednpek", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-26 10:46:10"} {"_id": "iMpP3YZBn5NG7Rqca", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n no Green\n\t// Intially all signals are red\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s : Signal | eventually s in Green\n\n}\n\n\npred prop3 {\n // Trains never move\n always all t : Train | always before t.pos = after t.pos \n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "3QN2YB97naPsrAdHi", "msg": "There are 29 possible tokens that can appear here:\n# ( * @ Int NAME NUMBER STRING String Time ^ all disj fun iden int let lone no none one pred seq some sum this univ { ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-12-2 22:48:42"} {"_id": "wC24wKTeTvCo342rA", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n }\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall g : Track.signal | no (g & Green) implies eventually g = Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "M4qnFBBQQ6mSJpb9m", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-11 17:09:09"} {"_id": "sFot8w3tahQhNnicm", "cmd_c": true, "cmd_i": 7, "cmd_n": "prop8ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways (all t:Train | (some t.pos.signal and some t.pos.prox) and ( (t.pos.signal) in (Signal-Green) implies ((t.pos in t.pos.prox) since (t.pos.signal in Green) )))\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "MexrMnstwRirCaBxD", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:59:43"} {"_id": "BYCvzxRvbJKs9W2zW", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n (all t:Train| eventually always ( no t.pos and after ( one t.pos:>Entry)) )\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "T8xqwf79AAdrFACqx", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 20:31:04"} {"_id": "FuK3ftfPixhspTibg", "cmd_i": 8, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\t\n always (no t:Train | eventually no (t.pos in Track-Entry))\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "ZX4gK6TyrhYDXJACq", "msg": "This expression failed to be typechecked line 94, column 35, filename=/tmp/alloy_heredoc14652234622851624826.als", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-13 23:12:11"} {"_id": "n2KhQaTMvtqih9apa", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways( all t:Train | some t.pos :> Exit implies eventually (no t.pos) )\n\talways( all t:Train | some t.pos :> (Track-Exit) implies eventually (t.pos in t.pos.prox) )\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways ( all s : Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green) )\n}\n\n\npred prop7 {\n\t\n\talways ( all t:Train | some t.pos :> Track implies eventually no t.pos :> Track )\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal not in Green) implies t.pos' = t.pos )\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\tall t:Train | some tk:Entry | (t.pos not in Entry) implies eventually (t->tk in pos and before no t.pos)\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "yjdZARGd6WpKLE8eQ", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:40:16"} {"_id": "8kK9Nxtu7Csypg6Zh", "cmd_i": 4, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\tall t:Train {\n \tsome tk | t.pos {\n \t(tk in Exit) => t.pos' = t.pos - tk\n \t(tk not in Exit) => some tk2: tk.prox | t.pos' = tk2\n }\n \t} \n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "3T74crP7S2F3zdu7e", "msg": "There are 38 possible tokens that can appear here:\n! # ( * @ Int NAME NUMBER STRING String Time ^ after all always before disj eventually fun historically iden int let lone no none once one pred seq set some sum this univ { } ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-13 21:57:46"} {"_id": "7dyorajWG6n3crdk6", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tall t:Track | always (Green not in t.signal until (Green in t.signal))\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Xnfh4d6nR37WNfmKP", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-26 16:43:12"} {"_id": "jRdkaK9aFMyN2Rvba", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways Exit in Train.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "oh4Tc3WNCjwbuAgPp", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-5 00:14:23"} {"_id": "fv4GswuPptzTggA3e", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n\t\n \talways( all t:Train | some tk:Track | t->tk in pos implies after t->tk in pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "76J8RfvJegEnMECsu", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 21:24:19"} {"_id": "6Mb9qhHMLcY6LJyQ4", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n (all t:Train| eventually (no t.pos => after one t.pos:>Entry) )\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "EtWMpk6STGfBz9XZC", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 20:26:51"} {"_id": "CCTGpLnbPjPwXrkvR", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways( all t:Train | some t.pos :> Exit implies eventually (no t.pos) )\n\talways( all t:Train | some t.pos :> (Track-Exit) implies eventually (t.pos in t.pos.prox) )\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways ( all s : Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green) )\n}\n\n\npred prop7 {\n\t\n\talways ( all t:Train | some t.pos :> Track implies eventually no t.pos :> Track )\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal not in Green) implies t.pos' = t.pos )\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\tall t:Train | some tk:Entry | (t.pos not in Entry) implies eventually (t->tk in pos and before no t.pos)\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "ji6hcSsLZasXaxrAC", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:36:03"} {"_id": "ppneJXxFt3MizCZHg", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t : Track | always lone t.~pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways all t : Train {\n \t((t.pos = Exit) implies (no t.pos'))\n \t\t or\n (t.pos' in t.pos.prox)\n \t}\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways no (signal & signal')\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "DhStsWnAmGW9oMKMA", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-17 00:29:46"} {"_id": "GydmgYxAWkrCnuudb", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n (all t:Train| eventually (historically no t.pos and after one t.pos:>Entry))\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "TGT45vnmwpFfdotNj", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 20:24:23"} {"_id": "KZdRfdj9kid9hCCMd", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\t\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "iDvZ52TmQy3CjwtMq", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-12-5 00:16:41"} {"_id": "znWotTJs5vdLagPts", "cmd_i": 4, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos'=t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\tall s:Signal | s'=!s\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "G6dcqMMEc4x7CLsm7", "msg": "There are 29 possible tokens that can appear here:\n# ( * @ Int NAME NUMBER STRING String Time ^ all disj fun iden int let lone no none one pred seq some sum this univ { ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-8 04:45:27"} {"_id": "BtePM4sp2zNwmBEqi", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies no t.pos')\n always (t.pos in Entry implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "qLeACHjEcGjXBEz5j", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2021-1-13 22:19:11"} {"_id": "adJGBBCEGF7GC8j92", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n always all t: Train | always t' in t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "YhBEEGQez3QuwJ3nB", "msg": "Subset operator is redundant, because the left and right subexpressions are always disjoint.\nLeft type = {this/Train}\nRight type = {this/Track}", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 22:46:59"} {"_id": "pjvXtuptvxf3RigLy", "cmd_i": 1, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n eventually all Signal in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "RDazKBFGWpbP6YmeQ", "msg": "The \"all x\" construct is no longer supported. If you know the range of possible values of x, consider rewriting it as \"x == set_of_all_possible_values\".", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-12-2 22:34:59"} {"_id": "WCN55DuPE5c6zi7ez", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\t \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\teventually (Signal = Green)\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "AhCBdkvvNarRnw26F", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-28 15:52:36"} {"_id": "thwWCPJjCdJGdrnbL", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\t(some s:Signal | s in Green) since (historically (all s:Signal | s not in Green)) \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t (all s:Signal | eventually s in Green)\n}\n\n\npred prop3 {\n\t// Trains never move\n\t\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "h5MNx9K6jx2wBA5vZ", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-28 15:57:34"} {"_id": "Bij5wWJCHt7997Zqk", "cmd_c": true, "cmd_i": 7, "cmd_n": "prop8ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways( all t:Train | some t.pos :> Exit implies eventually (no t.pos) )\n\talways( all t:Train | some t.pos :> (Track-Exit) implies eventually (t.pos in t.pos.prox) )\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways ( all s : Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green) )\n}\n\n\npred prop7 {\n\t\n\talways ( all t:Train | some t.pos :> Track implies eventually no t.pos :> Track )\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and t.pos.signal in Green implies t.pos' = t.pos )\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "7CaJQTPPPNXt8Bdd7", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:05:00"} {"_id": "k558JgtJjGTbk6t8W", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies no t.pos')\n always (t.pos in Entry implies eventually t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways (all t:Train |(t.pos.signal) in (Signal-Green) implies (some t.pos') and ((t.pos.signal) in Green))\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "aKjm5o5kJLkx8S4YF", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:34:09"} {"_id": "4osG5uqF6NSjFzPqR", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n no Green\n\t// Intially all signals are red\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s : Signal | eventually s in Green\n\n}\n\n\npred prop3 {\n // Trains never move\n always all t : Train, pos : t.pos | always lone pos\n}\n\n\npred prop4 {\n\talways pos' = pos\n // There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Gp5rgJouM4dyHnPsC", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 22:54:11"} {"_id": "NZmqaSzjDHnPYB5pK", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tSignal not in Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "bFBNNucra6qhmd3SY", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-8 04:25:00"} {"_id": "z6aXKETuHcsbktDy9", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n no Green\n\t// Intially all signals are red\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s : Signal | eventually s in Green\n\n}\n\n\npred prop3 {\n // Trains never move\n all t : Train | always lone t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "n6ipR5dFB5ayjY3Sd", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 22:41:56"} {"_id": "S5MkqQ92ajMaEmNnt", "cmd_i": 3, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n \talways all t1, t2: Train | lone tr1: Track | always no t1.pos.tr1 & t2.pos.tr2\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "7L9ciKbxvy9k2XwKL", "msg": "This cannot be a legal relational join where\nleft hand side is <integer/pos[t1];t1 . (this/Train <: pos);> (type = {this/Track})\nright hand side is tr1 (type = {this/Track})", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-12-2 23:03:46"} {"_id": "AAR8nvgwzTWGgp6Rv", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\talways all s: Signal | eventually s = Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "eciDQyv4cANtqcbD2", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 22:25:29"} {"_id": "9CfRZqACwk4b8KCb6", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (pos.(~pos) in iden)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\tall t:Train | eventually t.pos in Entry\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "exiAv7xqBNJzmhtwu", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 19:39:43"} {"_id": "DpawyvrFMMuEzeYs3", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\t\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "LsN7yQm3JyFqQriEK", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2021-1-14 01:22:45"} {"_id": "orLDDMyXsQDP6rNXv", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways Entry in Train.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "fyZoXmPN8T6W6y5XD", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-5 00:10:38"} {"_id": "Y9qnxueKugPfLt4eF", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\teventually Signal = Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "BpyxyZiXDvJJeZMi8", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 21:29:28"} {"_id": "8uKf8K62XMTwPsSh6", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n no Green\n\t// Intially all signals are red\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s : Signal | eventually s in Green\n\n}\n\n\npred prop3 {\n // Trains never move\n always all t : Train | always lone t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "funf95cBicDwD6icA", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 22:42:38"} {"_id": "ycDpfmpeuzFo2c8iz", "cmd_i": 5, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways (all s:Signals | (s in Green implies always (no (s & Green'))) or no (s & Green) implies always (some (s & Green'))) )\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "i96MzdxcnSKrtAZnt", "msg": "There are 38 possible tokens that can appear here:\n! # ( * @ Int NAME NUMBER STRING String Time ^ after all always before disj eventually fun historically iden int let lone no none once one pred seq set some sum this univ { } ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 23:37:34"} {"_id": "WGJucccZuXEuLZY8b", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\teventually (all s:Signal | Green in s)\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "b99is78fvJ7RNFERg", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-26 16:44:43"} {"_id": "KaGmeBLvCewSNCdEC", "cmd_c": true, "cmd_i": 14, "cmd_n": "prop15ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually pos!=pos' \n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "rZ5EHxr25F2hz2bz7", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 20:02:43"} {"_id": "AbMmjhAJQa7WTGgYH", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\teventually always (all t: Train| t.pos != t.pos')\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "eNiizB6bJHAKC7ZmX", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 19:43:30"} {"_id": "qdb7PD9iyDsrGBcfB", "cmd_i": 16, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)'=t.pos) \n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways (all t:pos.Track | (t.pos)' in t.pos + t.pos.prox or (t.pos in Exit and (t.pos)' in t.pos))\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\talways (all t:pos.Track | eventually no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\talways (all j:Junction | lone (prox.j).signal & Green)\n \talways (lone (prox.Junction).signal & Green)\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\talways (all t:Train | some t.pos implies once t.pos in Entry) \n}\n\n\npred prop12 {\n\t\n\t\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\t\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\talways (all t:pos.Track | eventually (t.pos)' != t.pos)\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:pos.Exit | (always some t.pos) since t.pos in Entry)\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\talways (some t:Train | historically no Train.pos) and eventually(t.pos in Exit and historically no Exit))\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "DCyf3Q3tbQvyyRjGh", "msg": "There are 38 possible tokens that can appear here:\n! # ( * @ Int NAME NUMBER STRING String Time ^ after all always before disj eventually fun historically iden int let lone no none once one pred seq set some sum this univ { } ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-12-1 21:29:05"} {"_id": "Bzd3rTjGjtGf3uz9w", "cmd_i": 8, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t all t:Train | eventually ( some t.pos & Entry) ) \n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "uRZznobf93EuaCoie", "msg": "There are 38 possible tokens that can appear here:\n! # ( * @ Int NAME NUMBER STRING String Time ^ after all always before disj eventually fun historically iden int let lone no none once one pred seq set some sum this univ { } ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-13 23:35:12"} {"_id": "zz3824hzkMkTnLBdB", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n \t\n \tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t\n\talways (all s:Signal | always (s in Green) implies eventually (s not in Green ) or \n\t\t\t \t\t\talways s not in Green implies eventually (s in Green) )\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "YtstTYcybXAsdgLA7", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2021-1-13 21:22:35"} {"_id": "iC9oAhT7dcxMBsNPy", "cmd_c": true, "cmd_i": 13, "cmd_n": "prop14ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\talways ( all t:Train | ( one (t.pos.signal :>Green) )implies eventually (t.pos.signal in Signal-Green) )\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "FPyNhiHKfGwsZm8X8", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 19:55:49"} {"_id": "iXwyuosuJo8NDRa93", "cmd_c": true, "cmd_i": 13, "cmd_n": "prop14ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\talways ( all t:Train | eventually (some t.pos and one (t.pos.signal :>Green) and t.pos' !=t. pos and some t.pos') implies (t.pos.signal in Signal-Green) )\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "cEyhPCpFSELFoCwrJ", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 20:01:44"} {"_id": "8yKmEm3ER8mqmrrnP", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \talways all t: Train | (t'.pos in t.prox) \n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "3q9sKPwcQxa5oowHX", "msg": "The join operation here always yields an empty set.\nLeft type = {this/Train}\nRight type = {this/Track->this/Track}", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 23:26:32"} {"_id": "uLAWKdBEtKd5KpxGL", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n eventually historically Signal in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "SM7d5CNyG3bfsD2RZ", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 22:33:39"} {"_id": "NhuTJrhNf7oMd4ExY", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n \n all s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n always all t : Train | lone t.pos \n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "F3Yw2hurWNdQgGgdu", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-25 22:48:20"} {"_id": "hRaqe8E7aLgGJzeXC", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n always (all t:Train|(one t.pos:> Exit => no t.pos') or (one t.pos and some t.pos.prox => t.pos' in t.pos.prox ) )\n \n \n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "tymK8ppJZTn25foTD", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 20:37:18"} {"_id": "P8AZSrfiEfeoNuh3h", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t\n\talways (all s:Signal | always (s in Green) implies eventually (s not in Green ) or \n\t\t\t \t\t\talways s not in Green implies eventually (s in Green) )\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "2BaxL5ecmBNfq6BBd", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-26 12:04:00"} {"_id": "XiT75v2vCFP9Wv4Hi", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\t (historically Signal = Green) until (some t:Track | Green not in t.signal)\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "ihNywd3jgr2ZYtgxZ", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-28 15:49:26"} {"_id": "gKwEGhytRDRitKhbc", "cmd_c": true, "cmd_i": 7, "cmd_n": "prop8ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways (all t:Train | (some t.pos.signal and some t.pos.prox) and ((t.pos.signal) in (Signal-Green) implies eventually (some t.pos) since ((t.pos.signal) in Green)))\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "wH6jfst8zafdfd9ce", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:55:58"} {"_id": "aTcFDPK5KfHAnT4Tb", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n\t\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (all t1,t2:Train | t1.pos != t2.pos)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "7DaAQaLqcHrCjvYW2", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-26 11:46:59"} {"_id": "kA2WFuxLGBYZyLxYZ", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (pos.(~pos) in iden)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "ZeAAQqS5TSGoEuDwL", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-25 19:35:42"} {"_id": "vZE8BwbQCNbstTgvm", "cmd_i": 3, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s:Signal | eventually s in Green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n always all t:Train | t.pos = t.pos'\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n always on Train.pos\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "P3WkBNjvjXjTEetgw", "msg": "The name \"on\" cannot be found.", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-12-16 19:01:59"} {"_id": "Ca4MdN3BQWf6T5xdo", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "9MBL3qff6iSNvnACo", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-25 23:19:54"} {"_id": "eDmK9yKJpWMvFHDhQ", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\tall t:Train | t.pos'=t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "8z3M4c7CJCiHCG8Yg", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-8 04:30:46"} {"_id": "NoELwKv2tJff64BD3", "cmd_c": true, "cmd_i": 14, "cmd_n": "prop15ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\teventually always (pos != pos')\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "NpqKJuQukgqapHv2a", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 19:46:08"} {"_id": "MNzGxwb8npcY754fb", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t: Train | t not in Track\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "LQptHZt26zqaLRGCX", "msg": "Subset operator is redundant, because the left and right subexpressions are always disjoint.\nLeft type = {this/Train}\nRight type = {this/Track}", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 22:29:18"} {"_id": "g9dyGJ7d5YWMxTW9S", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal - Green | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways(all t : Train | always (t.pos' = t.pos))\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\t\n \talways (all disj t1,t2 : Train | no (t1.pos & t2.pos)) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\tall t : Train.pos | some (t & Exit) implies no t' \n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "B9jTy46hmxJxqX4uf", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2021-1-13 21:49:48"} {"_id": "7JPFFNt7KiBoatARj", "cmd_c": true, "cmd_i": 15, "cmd_n": "prop16ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t : Track | always lone t.~pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \talways all t : Train {\n \t\t(t.pos = Exit) implies no t.pos'\n \tor\n \t(one t.pos) implies (t.pos' in t.pos.prox)\n \t}\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n \talways all s : Signal {\n \t\t((s in Green) implies (eventually s not in Green))\n \tor\n \t((s not in Green) implies (eventually s in Green))\n \t}\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n \tall t : Train | (eventually always no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n \talways all t : ((Signal-Green).(~signal).(~pos)) | (t.pos' in t.pos.prox) implies (t.pos.signal in Green)\n\t\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n \n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n \talways all t : Train | (one t.pos and no t.pos') implies (always no t.pos')\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always all t : Train | some t.pos implies eventually t.pos != t.pos'\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways all t : Train | (t.pos = Exit) implies ((always some t.pos) since (t.pos = Entry))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "YKCHzjNhrJFEWxvK7", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-7 11:03:58"} {"_id": "Fz4vWE27yr5YKsXzD", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n eventually no(Signal-Green)\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Joz8Hi3RTqn4TAeTK", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-16 18:35:44"} {"_id": "CCtwQfbBSvDHgtTtM", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\tall t:Train {\n \t\tt.pos in Exit => no t.pos'\n \tt.pos in (Track - Exit) => {\n \t\tone tk:((t.pos).prox) | t.pos' = tk\n \t}\n \t} \n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "meA3DhzNnrW7iMGtn", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 21:44:53"} {"_id": "auuWSCrbN4tPnCc2v", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n always Train.pos in Entry\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Lc9329N5zwBwnWCh5", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 22:50:50"} {"_id": "zLjt7acP6abjSMs5m", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "FwCGymHmbqcziisH5", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-25 22:25:46"} {"_id": "CBMjudLFGZogZizvL", "cmd_i": 3, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n always all t: Train | always one Train in Track\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Hh3AAivmmG7jN5DQg", "msg": "This must be a set or relation.\nInstead, it has the following possible type(s):\n{PrimitiveBoolean}", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-12-2 22:39:22"} {"_id": "XE5MBRpgCkoC26K8b", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "KyFQAe7DjY7QpQ7LK", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-12-17 00:04:37"} {"_id": "F8LGtHDiki7nfPLnw", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n \n all s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \t\n \talways pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n always all t : Train | (t.pos).prox = Exit releases t.pos.prox in Track\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "myeRetJsFySmHyeYo", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 23:24:53"} {"_id": "kaQrshhmi5xC8M4Py", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n always all t: Train | always t in one t.pos implies after t in t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "EPYGg5SWRXGwq35kn", "msg": "There are 29 possible tokens that can appear here:\n# ( * @ Int NAME NUMBER STRING String Time ^ all disj fun iden int let lone no none one pred seq some sum this univ { ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-12-2 22:44:29"} {"_id": "S8xEaiFb5v9JnWZHF", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "yFarCtsSoAMtBWSDW", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2021-1-13 21:25:17"} {"_id": "nC3eJeWLDkQQxFYLr", "cmd_i": 4, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n \t\n \tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways (all t:Train |t.pos in Entry implies (t.pos'in ((t.pos.^prox)<:Exit) or t.pos in Exit implies no t.pos')\n}\n\n\npred prop6 {\n\t\n\talways (all s:Signal | always (s in Green) implies eventually (s not in Green ) or \n\t\t\t \t\t\talways s not in Green implies eventually (s in Green) )\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "NXTFG9S3jdot344HJ", "msg": "There are 1 possible tokens that can appear here:\n)", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-13 21:44:31"} {"_id": "CETbaE279RNnymTrb", "cmd_c": true, "cmd_i": 12, "cmd_n": "prop13ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t : Track | always lone t.~pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \talways all t : Train {\n \t\t(t.pos = Exit) implies no t.pos'\n \tor\n \t(one t.pos) implies (t.pos' in t.pos.prox)\n \t}\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n \talways all s : Signal {\n \t\t((s in Green) implies (eventually s not in Green))\n \tor\n \t((s not in Green) implies (eventually s in Green))\n \t}\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n \tall t : Train | (eventually always no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n \talways all t : ((Signal-Green).(~signal).(~pos)) | (t.pos' in t.pos.prox) implies (t.pos.signal in Green)\n\t\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n \n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n \talways all t : Train | no t.pos implies always no t.pos\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always all t : Train | some t.pos implies eventually t.pos != t.pos'\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "zb6jA5jSnAmPy9xEZ", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-7 11:00:18"} {"_id": "GQFMy2yH67L7eLz4F", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\t\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways all t : Train, p : t.pos | (t.pos)' in p.prox || Exit = p.prox\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "wQ7Zn2W9fLLBNuihb", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-5 00:24:08"} {"_id": "iPYGyhsCvo5Y22Dki", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n \n all s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n always all t : Track | always lone t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "vG7rtuAqpzsigQqxf", "msg": "The join operation here always yields an empty set.\nLeft type = {this/Track}\nRight type = {this/Train->this/Track}", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 22:38:16"} {"_id": "2Z7ppb6FjBhAtRaF5", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways Signal in Green and after no Green' or no Green and Signal in Green'\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\t\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "pRQQi2skS7Q7gYvac", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-8 01:45:09"} {"_id": "c2KP4fitpQvH9ZJht", "cmd_c": true, "cmd_i": 12, "cmd_n": "prop13ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\talways ( all t:Train | no t.pos since no t.pos)\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "wryTtWhCqbRqihy8y", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 19:42:16"} {"_id": "RDSoQyrdJMSQeLBZK", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n no Green\n\t// Intially all signals are red\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n eventually all s : Signal | s in Green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "CpbhxkuaqRoQyJTqa", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 22:35:30"} {"_id": "qT5Proi28HkXL3ZGs", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)'=t.pos) \n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways (all t:pos.Track | (t.pos)' in t.pos + t.pos.prox or (t.pos in Exit and (t.pos)' in t.pos))\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Pv25ezbXnBpnHYP57", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-1 20:52:04"} {"_id": "iSSLLgwhu8Lmgcj5k", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways Entry = Train.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "orLDDMyXsQDP6rNXv", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-5 00:11:13"} {"_id": "odX2bAjdDog4LBEgi", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\teventually Signal = Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "L83fk29zSz86oSfqc", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 21:47:07"} {"_id": "mzBpNxf8aZJvNKFB2", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways all s : Signal | (s in Green implies s' not in Green) or \n (s not in Green implies s' in Green)\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "iDwWo8GPkaq7oyv8T", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 23:11:23"} {"_id": "3Xx5EojFNCQpi28Tc", "cmd_i": 4, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\tall t:Train {\n \t\tt.pos in Exit => Train' = Train - t\n \tt.pos not in Exit => t.pos' = one (t.pos).prox\n \t} \n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "XtiusCtJ32mFpu9aP", "msg": "There are 29 possible tokens that can appear here:\n# ( * @ Int NAME NUMBER STRING String Time ^ all disj fun iden int let lone no none one pred seq some sum this univ { ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-13 21:41:20"} {"_id": "2KwGSuj5M7q5CJe47", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways( all t:Train | some t.pos :> Exit implies eventually (no t.pos) )\n\talways( all t:Train | some t.pos :> (Track-Exit) implies eventually (t.pos in t.pos.prox) )\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways ( all s : Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green) )\n}\n\n\npred prop7 {\n\t\n\talways ( all t:Train | some t.pos :> Track implies eventually no t.pos :> Track )\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal not in Green) implies t.pos' = t.pos )\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\tall t:Train | some tk:Entry | eventually (t->tk in pos and before no t.pos)\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "pCk5sDtcbe3JD4weu", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:34:13"} {"_id": "MnJfvnbbyXpL3aK3H", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\talways all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Lki5N5psGRpji39a5", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 22:31:59"} {"_id": "MhTnexDqcsaW4G9ko", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)'=t.pos) \n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "vwmeiCMJGN9tFKwvg", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-12-1 20:49:23"} {"_id": "h8KTJ3QpXaLeQ4sAf", "cmd_c": true, "cmd_i": 6, "cmd_n": "prop7ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t : Track | always lone t.~pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways all t : Train {\n \t((t.pos = Exit) implies (no t.pos'))\n \t\t or\n (t.pos' in t.pos.prox)\n \t}\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n \t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\tall t : Train | eventually no t.pos\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "3fwMQEoRzByygMubR", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-17 00:38:50"} {"_id": "7XEHgWXccYz7Ss3eY", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n \t\n \tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n all t:Train |{\n \talways (t.pos in Exit implies t.pos'= t.pos)\n \talways (t.pos in Entry implies (t.pos'in (t.pos.prox) )) \n }\n \t\n}\n\n\npred prop6 {\n\t\n\talways (all s:Signal | always (s in Green) implies eventually (s not in Green ) or \n\t\t\t \t\t\talways s not in Green implies eventually (s in Green) )\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "diMn5pHonJP3y5ao2", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 21:53:46"} {"_id": "c24ZPpw9KEqGvkXKL", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\t(some s:Signal | s in Green) since (historically (all s:Signal | s not in Green))\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t (all s:Signal | eventually s in Green)\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "WeJzzmY2kmPhAYTJL", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-28 15:56:21"} {"_id": "kcy6XnnXoqr33JDs5", "cmd_i": 3, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\t\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (Train.pos).(~Train.pos) in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "K6ty2HqooD8SG6oQN", "msg": "~ can be used only with a binary relation.\nInstead, its possible type(s) are:\n{this/Train}", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-24 23:00:48"} {"_id": "LQptHZt26zqaLRGCX", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t: Train | always t not in Track\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "3e4bDLkKozEXerqAa", "msg": "Subset operator is redundant, because the left and right subexpressions are always disjoint.\nLeft type = {this/Train}\nRight type = {this/Track}", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 22:28:58"} {"_id": "GLWN8HhhP8AcBg6Lc", "cmd_c": true, "cmd_i": 14, "cmd_n": "prop15ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\t always eventually some Train and (pos != pos')\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Cq74k2osiMunZrrCj", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 19:47:26"} {"_id": "Ej2yvyaxQvK2tkNYB", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\tall s : Signal | always s != s'\n }\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "2eg3sLFQrouzbpDbe", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 23:13:38"} {"_id": "PpDMmoYBJ3vR5xRMK", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n always lone Train.pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "xE5DyyN2EH4B9vJcv", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 22:40:36"} {"_id": "55frXgngepY66WWoL", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t : Track | always lone t.~pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "XqeSi3wZ6yZnmwN93", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-12-17 00:18:22"} {"_id": "AWQCKBfgG4qGraTbt", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\tall t : Train | always t.pos in Entry\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\t\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "FwCGymHmbqcziisH5", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-8 00:54:26"} {"_id": "typX6GN5SWYX5h42e", "cmd_c": true, "cmd_i": 10, "cmd_n": "prop11ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "FwCGymHmbqcziisH5", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2021-1-16 19:38:01"} {"_id": "Hpu5e49N47swh7SeN", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\t (Signal = Green) until (some t:Track | Green not in t.signal)\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "XiT75v2vCFP9Wv4Hi", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-28 15:49:52"} {"_id": "HJ7TyYcpaoisWTLt6", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n always (Signal in Green => no Signal & Green' || no Signal & Green => Signal in Green')\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\t\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "km5tmJhvvrNfBZphb", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-8 01:22:46"} {"_id": "GogsDE5C8ifLhdgxb", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green \n}\n\n\npred prop3 {\n\t// Trains never move\n always all t: Train, tk: Track | t->tk in pos implies always t->tk in pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "DLfgqgehLztgbf68Y", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 22:53:45"} {"_id": "jGQxSzaNfW4SMiapj", "cmd_i": 3, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal - Green | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways(all t : Train | always (t.pos' = t.pos))\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tTrain.pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Wbuhy9waRwrx7LcNC", "msg": "in can be used only between 2 expressions of the same arity.\nLeft type = {this/Train}\nRight type = {univ->univ}", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-13 21:40:10"} {"_id": "sLBxqJjKY4Bzz9twk", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green \n}\n\n\npred prop3 {\n\t// Trains never move\n always all t: Train, tk: Track | t->tk in pos implies always t->tk in pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "dWLZpcKSFW4JHvWR7", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 22:51:36"} {"_id": "3r6mBBJnNqtz5Sxmm", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green \n}\n\n\npred prop3 {\n\t// Trains never move\n \n \n always pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n always pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n always all t: Train | t.prox not in Exit implies t.pos' in t.pos + t.pos.prox\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "gp9GhSfjhr9gXWank", "msg": "The join operation here always yields an empty set.\nLeft type = {this/Train}\nRight type = {this/Track->this/Track}", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 23:26:41"} {"_id": "eNiizB6bJHAKC7ZmX", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\teventually always Train.pos !=Train.pos'\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "iYPJBK7JRuLBkfWuy", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 19:43:05"} {"_id": "yzyRK9gM7EfML6c49", "cmd_i": 4, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways(\n\t\tall t:Train {\n \tsome (t.pos & Exit) => no t.pos'\n \tsome (t.pos && (Track-Exit)) => some tk2: t.pos | t.pos' = tk2\n \t\t} \n \t)\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "PfCb3LcBeYCittuDo", "msg": "This must be a formula expression.\nInstead, it has the following possible type(s):\n{this/Track}", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-13 22:02:54"} {"_id": "6RXWL5zEjiMrjsJjj", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n always (all t:Train|(one t.pos:> Exit => no t.pos')) or\n always (all t:Train| (one t.pos and some t.pos.prox ) => (t.pos' in t.pos.prox or t.pos'=t.pos) )\n\n \n \n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "YQx2G8fYMZJYt7GMs", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 20:47:36"} {"_id": "jAfcwyoGJuuBgGnZc", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways one s : Signal | always s' != s\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "45yKmhyZi98RQkJHo", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 23:09:30"} {"_id": "e6ArToB9sgeZM5AJ2", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green \n}\n\n\npred prop3 {\n\t// Trains never move\n \n all t: Train, tk: Track | (t->tk in pos implies always t->tk in pos) and (t->tk not in pos implies always t->tk not in pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n always prox.~prox in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "bKBcEg2kRTmoLEWyT", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 23:14:49"} {"_id": "ihmzjWnRdWJ8mtQSB", "cmd_c": true, "cmd_i": 12, "cmd_n": "prop13ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t : Track | always lone t.~pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \talways all t : Train {\n \t\t(t.pos = Exit) implies no t.pos'\n \tor\n \t(one t.pos) implies (t.pos' in t.pos.prox)\n \t}\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n \talways all s : Signal {\n \t\t((s in Green) implies (eventually s not in Green))\n \tor\n \t((s not in Green) implies (eventually s in Green))\n \t}\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n \tall t : Train | (eventually always no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n \talways all t : ((Signal-Green).(~signal).(~pos)) | (t.pos' in t.pos.prox) implies (t.pos.signal in Green)\n\t\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n \n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n \talways all t : Train | no t.pos implies always no t.pos\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always all t : Train | some t.pos implies eventually t.pos != t.pos'\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "bvD6K7LaMhZy9nT2S", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-7 11:00:03"} {"_id": "Jev2MHiuTmPue7ezf", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\talways (all t:Track | Green in t.signal since Green not in t.signal)\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "FcdB2DEGXwGH4EoPX", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-26 16:41:19"} {"_id": "PPfTqQTouo8q76jSi", "cmd_c": true, "cmd_i": 6, "cmd_n": "prop7ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t\n\talways (all s:Signal | always (s in Green) implies eventually (s not in Green ) or \n\t\t\t \t\t\talways s not in Green implies eventually (s in Green) )\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\tall t:Train | some (t.pos & Entry ) implies eventually some (t.pos & Exit) \n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Fsbd8kiju8kH6xDdB", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 10:41:21"} {"_id": "X4ZKumargmniSCj3p", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways all t : Train | t.pos' in t.pos.prox or some Exit & t.pos.next => t.pos' in Exit\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\t\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "nswCdqfpyyrqpLCzY", "msg": "The join operation here always yields an empty set.\nLeft type = {this/Track}\nRight type = {Int->Int}", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-8 01:34:16"} {"_id": "eciDQyv4cANtqcbD2", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\talways all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "6GngTm9rKWAZEENGK", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 22:23:13"} {"_id": "DGrkoc3tELjmdHwip", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green \n}\n\n\npred prop3 {\n\t// Trains never move\n \n \n always pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n always pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n always all t: Train | no t.pos & Exit implies t.pos' in t.pos + t.pos.prox\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "7Ded9ixP6hgY4ujmx", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-26 11:46:22"} {"_id": "puPdrx54duvD8nia4", "cmd_i": 0, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tTrack.signal not in Red\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "FwCGymHmbqcziisH5", "msg": "The name \"Red\" cannot be found.", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-12-3 10:24:41"} {"_id": "qXP5b64d8M7cZYDnd", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n }\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n}\n\n\npred prop3 {\n\t// Trains never move\n\t no prox.Track.prox\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "7EaGc5wgqfk9NmvWX", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-11 17:14:36"} {"_id": "XsKaHEfsraLPM4JhP", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways (all t:Train, k:Track | some t.pos :> k implies after t.pos :> k)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "XcnDJLCroF64wr4N2", "msg": "This expression failed to be typechecked line 46, column 57, filename=/tmp/alloy_heredoc6313253067811122426.als", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 21:56:03"} {"_id": "ktDJL66BPK7H7zni5", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways( all t:Train | some t.pos :> Exit implies eventually (no t.pos) )\n\talways( all t:Train | some t.pos :> (Track-Exit) implies eventually (t.pos in t.pos.prox) )\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways ( all s : Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green) )\n}\n\n\npred prop7 {\n\t\n\talways ( all t:Train | some t.pos :> Track implies eventually no t.pos :> Track )\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal not in Green) implies t.pos' = t.pos )\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\talways ( all t:Train | historically no t.pos implies eventually t.pos in Entry )\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "j6t4WZAoB5RDigyZb", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:10:42"} {"_id": "d3jMeE6cZiRiqDsRx", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways all t : Train | t.pos' in t.pos.prox || t.pos' in Exit\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\t\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "fNZ5bNJg67dLRkDj5", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-8 01:18:15"} {"_id": "dPDF4LL7ZhYAbjNMY", "cmd_c": true, "cmd_i": 15, "cmd_n": "prop16ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)'=t.pos) \n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways (all t:pos.Track | (t.pos)' in t.pos + t.pos.prox or (t.pos in Exit and (t.pos)' in t.pos))\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\talways (all t:pos.Track | eventually no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\talways (all j:Junction | lone (prox.j).signal & Green)\n \talways (lone (prox.Junction).signal & Green)\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\talways (all t:Train | some t.pos implies once t.pos in Entry) \n}\n\n\npred prop12 {\n\t\n\t\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\t\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\talways (all t:pos.Track | eventually (t.pos)' != t.pos)\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:pos.Exit | (always some t.pos) since t.pos in Entry)\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "tR6bX5WLM8EjziXte", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-1 21:25:45"} {"_id": "6JSabfh7ScpjBeTu2", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal - Green | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\tTrain.pos' = Train.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "ZAmrHHBWaByuRJFPT", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 21:32:07"} {"_id": "Pdbpw5uvpfhCCno6q", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n always (all t:Train| eventually (no t.pos and one t.pos':>Entry))\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "8ijsgY6gdTxXukzHH", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 20:21:53"} {"_id": "e5wbNykhnxyzBZmFi", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t all t:Train | eventually ( some t.pos & Entry) and before no t.pos\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "pwuRhXxMYx2oS9kXK", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:36:13"} {"_id": "khtBhPh4okGednpek", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\tno Track\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "4D8NZCSKAGtvbyFWu", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-26 10:45:50"} {"_id": "ysRts7RiJ2YcSRDNe", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n }\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n}\n\n\npred prop3 {\n\t// Trains never move\n\tno Train\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tlone\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "vWnDapLCBofYRLQYY", "msg": "There are 29 possible tokens that can appear here:\n# ( * @ Int NAME NUMBER STRING String Time ^ all disj fun iden int let lone no none one pred seq some sum this univ { ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-11 17:19:27"} {"_id": "DTXhzNSSHD5DcDAoB", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n \n all s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways pos = pos and (Train->Track not in pos) = (Train->Track not in pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Ttpesm9ST7EaAj2Np", "msg": "= can be used only between 2 expressions of the same arity, or between 2 integer expressions.\nLeft type = {PrimitiveBoolean}\nRight type = {PrimitiveBoolean}", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 23:14:27"} {"_id": "4ezYNgj5bMy2Cj9s4", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n always all t: Train | always after t.pos = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "adJGBBCEGF7GC8j92", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 22:47:20"} {"_id": "KuFFeCTkHT5R8BrrS", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tall t : Track | t.signal not in Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "9mYct2qzkrn7HTTRf", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-3 10:26:39"} {"_id": "N7ftNpYunKSa32bzw", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green \n}\n\n\npred prop3 {\n\t// Trains never move\n all t: Train, tk: Track | (t->tk in pos implies always t->tk in pos) and (t->tk not in pos implies always t->tk not in pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "y7pmXsWT6Mb9P8G6N", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-25 23:06:27"} {"_id": "HKqa8BDY5jereuKth", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n all t : Train | always t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "pC2DWEazhAQPjdm9w", "msg": "This expression failed to be typechecked line 46, column 19, filename=/tmp/alloy_heredoc10178374156332957583.als", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-26 10:51:46"} {"_id": "Tov3hjsvHDgpzP24D", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways(\n\t\tall t:Train {\n \tsome (t.pos & Exit) => no t.pos'\n \tsome (t.pos & (Track-Exit)) => some tk2: t.pos | t.pos' = tk2\n \t\t} \n \t)\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "yzyRK9gM7EfML6c49", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:03:06"} {"_id": "kTmM7EyasTWRH9fgH", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\tall s: Signal | always s != s'\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "LzKRroGrDStG5wwvC", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 22:56:46"} {"_id": "X78bRqsMQDyKHLPtz", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n }\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall g : Signal |always( eventually g = Green )\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "4ww6fbNeMBsixNGnx", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-11 17:05:57"} {"_id": "bYMuoaYLgcu4fraN5", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (pos.(~pos) in iden)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways (all t:pos.Track | (t.pos)' in t.pos.prox)\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n \talways (all s:Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green))\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\talways (all t:pos.Track | eventually no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\talways (all j:Junction | lone ((prox.j).signal&Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n \t\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\t\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\t\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\t\n}", "derivationOf": "EsNu429FteEhkuoCy", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-29 14:52:15"} {"_id": "mnnXkn4uzagEsgqpW", "cmd_c": true, "cmd_i": 14, "cmd_n": "prop15ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "jCZwPuTmZd9tNvGzB", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2021-1-16 20:05:54"} {"_id": "iFDi8ZsKBw76u6CHF", "cmd_i": 10, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n always ( all t:Train | some t.pos implies once t.pos :> Entry)\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "egRfJoe2fWzEW8kqu", "msg": "This expression failed to be typechecked line 106, column 45, filename=/tmp/alloy_heredoc1578656845326517683.als", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-13 23:58:57"} {"_id": "HNgxCNbM8SdboB6fT", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n \n all s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \tfalse releases always pos \n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "cAThvfBg8Bt2MZL3E", "msg": "The name \"false\" cannot be found.", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 22:56:50"} {"_id": "gFzSzb9ibfdW94Bfz", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\talways(eventually Signal = Green)\n}\n\n\npred prop3 {\n\t// Trains never move\n\t\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Y9qnxueKugPfLt4eF", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 21:29:49"} {"_id": "4pcEsdsftfXJ3L6aD", "cmd_c": true, "cmd_i": 12, "cmd_n": "prop13ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\t ( all t:Train | eventually always no t.pos implies always(no t.pos))\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "TAjBHpTDr6ms8QHq7", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 19:41:10"} {"_id": "ck6S59KCGwnXxwWCw", "cmd_c": true, "cmd_i": 10, "cmd_n": "prop11ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\talways ( all t:Train| some t.pos implies once t.pos in Entry) \n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "a4ocztnc9KxWCwpXA", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:56:54"} {"_id": "QZ24K2j35LZSr7PxY", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall disj t1,t2:Train | some (t1.pos &t2.pos ) implies lone ((t1.pos &t2.pos ).signal &Green) or no (t1.pos &t2.pos )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "qzQjdCxexo5XwmBRo", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 23:16:35"} {"_id": "3e4bDLkKozEXerqAa", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t: Train | always t in Track\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "x5APBbTtespiYBexf", "msg": "Subset operator is redundant, because the left and right subexpressions are always disjoint.\nLeft type = {this/Train}\nRight type = {this/Track}", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 22:28:49"} {"_id": "p4aAm5xPt8FLrdbXC", "cmd_i": 5, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways (all t : Train | t.pos = t.pos')\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (all t : Track | lone pos.t)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways (all s : Signal | \n \t\t \t\t(s in Green implies (eventually s not in Green)) or \n \t\t \t\t(s not in Green implies s eventually s in Green)\n\t\t\t)\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "ru49rW22AYZALknar", "msg": "There are 1 possible tokens that can appear here:\n)", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 16:34:47"} {"_id": "FavwXGsfZdj68h3qB", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos in pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\t\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "HQm8sHFeDsxL8MJFx", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-8 01:14:42"} {"_id": "Gp5rgJouM4dyHnPsC", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n no Green\n\t// Intially all signals are red\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s : Signal | eventually s in Green\n\n}\n\n\npred prop3 {\n // Trains never move\n always all t : Train, pos : t.pos | always lone pos\n}\n\n\npred prop4 {\n\talways t1, t2: Train | some t1.pos & t2.pos implies t1 = t2\n // There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "YY8XZxaqMHMkRF4vv", "msg": "There are 38 possible tokens that can appear here:\n! # ( * @ Int NAME NUMBER STRING String Time ^ after all always before disj eventually fun historically iden int let lone no none once one pred seq set some sum this univ { } ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-12-2 22:53:12"} {"_id": "RfxgEJEwRWgmNxRPk", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": " Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green, Red in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t No cycles\n\tno t : Track | t in t.^prox\n\t Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\tall s:Signal | Signal in Green or Signal in Red\n\t All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t Intially all signals are red\n\tSignal in Red\n}\n\n\npred prop2 {\n\t Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t Trains never move\n\talways all t:Train | t.pos'=t.pos\n}\n\n\npred prop4 {\n\t There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos)\n}\n\n\npred prop5 {\n\t A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "K6RnJNMbsfTPswDva", "msg": "This variable is unused.", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-8 04:50:12"} {"_id": "ZFT25GE7MdCcwxw9c", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal - Green | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways(all t : Train | always (t.pos' = t.pos))\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\t\n \talways (all disj t1,t2 : Train | no (t1.pos & t2.pos)) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n\t\n \t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways (all s : Signal | no (s & Green) implies s' in Green else s' not in Green)\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "QQnKXk2mkjExwcDYm", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:12:28"} {"_id": "M7JJDBRt2MwPSL9M4", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways all t : Train | t.pos' in t.pos.prox \n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\t\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "d3jMeE6cZiRiqDsRx", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-8 01:18:49"} {"_id": "exiAv7xqBNJzmhtwu", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (pos.(~pos) in iden)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\teventually (all t:Train | t.pos in Entry)\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Dbkh9d4rBnJN3zC4B", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 19:39:12"} {"_id": "72mg9SHCbikXkvFtW", "cmd_c": true, "cmd_i": 10, "cmd_n": "prop11ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)'=t.pos) \n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways (all t:pos.Track | (t.pos)' in t.pos + t.pos.prox or (t.pos in Exit and (t.pos)' in t.pos))\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\talways (all t:pos.Track | eventually no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\talways (all j:Junction | lone (prox.j).signal & Green)\n \talways (lone (prox.Junction).signal & Green)\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\talways (all t:Train | some t.pos implies once t.pos in Entry) \n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Rpxo7eosoJ43N6xAC", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-1 21:10:53"} {"_id": "oe8wuGReKuy7SwHZx", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways (all t : Train | t.pos = t.pos')\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (all t : Track | lone pos.t)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\tall s : Signal | eventually (s in Green or s not in Green) \n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "yGkquCud6kBGRdZGk", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 16:45:02"} {"_id": "W7vwJ4BWpSC4vS4np", "cmd_c": true, "cmd_i": 6, "cmd_n": "prop7ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\tall t:Train{\n \t\talways( t.pos in Exit implies eventually no t.pos)\n \t\talways( t.pos in Entry implies eventually t.pos in t.pos.prox)\n \t}\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways ( all s : Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green) )\n}\n\n\npred prop7 {\n\t\n\tall t:Train | some t.pos :> (Entry+Exit) implies eventually no t.pos :> (Entry+Exit)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "dnKywM32Rf3Tu2BBN", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:32:36"} {"_id": "839dtQiJdjWA3aTDc", "cmd_c": true, "cmd_i": 10, "cmd_n": "prop11ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n always ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "ck6S59KCGwnXxwWCw", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2021-1-13 23:57:17"} {"_id": "un2wLT7Esz2STJuvF", "cmd_i": 8, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n always (all t:Train| (no t.pos after one (t.pos':>Entry)) )\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "uvBnHfHyiJ3uHL3un", "msg": "There are 1 possible tokens that can appear here:\n)", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-16 20:33:14"} {"_id": "Pv25ezbXnBpnHYP57", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)'=t.pos) \n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways (all t:pos.Track | (t.pos)' in t.pos + t.pos.prox or t.pos in Exit)\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "MhTnexDqcsaW4G9ko", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-1 20:51:18"} {"_id": "iCvEeXpDptepEpPwi", "cmd_c": true, "cmd_i": 6, "cmd_n": "prop7ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t : Track | always lone t.~pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \talways all t : Train {\n \t\t(t.pos = Exit) implies no t.pos'\n \tor\n \t(one t.pos) implies (t.pos' in t.pos.prox)\n \t}\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n \talways ((Signal-Green = Green') and (Green = Signal'-Green'))\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n \tall t : Train | (eventually always no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\t\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n \n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "7HAgCnPZxoPudLBk9", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-7 10:41:03"} {"_id": "mnh5upBYKpAfE2yML", "cmd_i": 10, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (pos.(~pos) in iden)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\talways (all j:Junction | lone ((prox.j).signal&Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\talways (t:Train | one t.pos implies once t.pos in Entry)\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "idSsPCMc4jQ3DuPgG", "msg": "There are 1 possible tokens that can appear here:\n)", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 19:45:05"} {"_id": "8EXbLeo38zwhn63aZ", "cmd_c": true, "cmd_i": 14, "cmd_n": "prop15ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (some pos implies pos!=pos' )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "KaGmeBLvCewSNCdEC", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 20:03:16"} {"_id": "p6sasNLywyjExe5LY", "cmd_i": 4, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal - Green | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways(all t : Train | always (t.pos' = t.pos))\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\t\n \talways (all disj t1,t2 : Train | no (t1.pos & t2.pos)) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\tall t : Train | some (t.pos & Exit) implies Train' = (Train - t) ( else( t.pos' & t.pos.prox)) \n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "3bNeDuP9kFsJ5BF98", "msg": "There are 37 possible tokens that can appear here:\n! # ( * @ Int NAME NUMBER STRING String Time ^ after all always before disj eventually fun historically iden int let lone no none once one pred seq set some sum this univ { ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-13 21:53:24"} {"_id": "xE5DyyN2EH4B9vJcv", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n always all t: Train | always lone Train.pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Ho7tjxbJ5NQsGKe5a", "msg": "This variable is unused.", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 22:40:05"} {"_id": "DdCdPGhgJbThTxi9n", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal - Green | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways(all t : Train | always (t.pos' = t.pos))\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\t\n \talways (all disj t1,t2 : Train | no (t1.pos & t2.pos)) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n\tall t : Train | t.pos' != t.pos\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "WecQozJpqnAwD5CYM", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:01:48"} {"_id": "fiBDesjeTNhqMztzL", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\talways ( all t:Train |eventually (before (no prox.t) and after (t.pos in Entry) ))\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "wPLvspjZWSmvxg8zo", "msg": "The join operation here always yields an empty set.\nLeft type = {this/Track->this/Track}\nRight type = {this/Train}", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:17:53"} {"_id": "2KL3Mx4HJPgs7DvJG", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n all s : Signal | s not in Green\n\t// Intially all signals are red\n\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "FwCGymHmbqcziisH5", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-12-2 22:34:05"} {"_id": "GfJ3oS684tFZid3nt", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways one s : Signal | (s in Green implies s' not in Green) or \n (s not in Green implies s' in Green)\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "mzBpNxf8aZJvNKFB2", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 23:12:19"} {"_id": "XPv47MDmaLMnybgbQ", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n\talways (all t:Train, k:Track | t.pos = k implies after t.pos = k)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "hMinECMqeAkpfYHEq", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-26 09:25:41"} {"_id": "tc9uuoN93z8oysXue", "cmd_c": true, "cmd_i": 7, "cmd_n": "prop8ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways (all t:Train |(t.pos.signal) in (Signal-Green) implies (some t.pos') since ((t.pos'.signal) in Green))\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "WSsaGzWPGoHDWj2vt", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:47:31"} {"_id": "MCjfrhCv8KCqJNSvv", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n (all t:Train| eventually ( one t.pos:>Entry) )\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "84W46nvDDaij3cdo2", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 20:27:48"} {"_id": "Yd7Naw3tkytRht2Mn", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\t (all t:Track | Green in t.signal since Green not in t.signal)\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "wjGpbG84kfd3sgSBQ", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-28 15:46:49"} {"_id": "f5DDyvGotcQoRurpg", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n \n all s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \t\n \talways pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways prox.~prox in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "cpDSBFumqPDABmbeE", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 23:20:31"} {"_id": "XNGLNgjWPynrGFGEh", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways Signal != Signal'\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "kTmM7EyasTWRH9fgH", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 22:57:04"} {"_id": "C2Wd6LnkcyW8o7szM", "cmd_i": 3, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n \talways all t1, t2: Train | lone tr1: Track | always no t1.pos.tr1 & t2.pos.tr1\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "S5MkqQ92ajMaEmNnt", "msg": "This cannot be a legal relational join where\nleft hand side is <integer/pos[t1];t1 . (this/Train <: pos);> (type = {this/Track})\nright hand side is tr1 (type = {this/Track})", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-12-2 23:04:03"} {"_id": "3T74crP7S2F3zdu7e", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\tall t:Train {\n\t\tsome (t.pos & Exit) => t.pos' = (t.pos) - (t.pos)\n \n \t} \n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "ANb4ZD43cDiybhs7G", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 21:54:23"} {"_id": "CzkFkrfKeiSYeFCvH", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways(\n\t\tall t:Train {\n \tt.pos in Exit => no t.pos'\n \tt.pos in Entry => some tk2: (t.pos).prox | t.pos' = tk2\n \tno t.pos => t.pos' = t.pos\n \t\t} \n \t)\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "6rhmcJqPkxA2eq9Hb", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:16:00"} {"_id": "MMeJKZek5MvuksFa3", "cmd_i": 8, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n (all t:Train| no t.pos => eventually ( one t.pos':>Entry)) )\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "BYCvzxRvbJKs9W2zW", "msg": "There are 38 possible tokens that can appear here:\n! # ( * @ Int NAME NUMBER STRING String Time ^ after all always before disj eventually fun historically iden int let lone no none once one pred seq set some sum this univ { } ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-16 20:31:44"} {"_id": "TPoXKYWctkj9wf9qb", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\tall t : Train | always no t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\t\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "mR6xYeXhS5regdgpe", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-8 00:55:20"} {"_id": "bwG6vgKiteAxwjEKg", "cmd_i": 5, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\tall s : Signal | always s!= s'\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "mF8fBmDQS7KKoiY9z", "msg": "There are 38 possible tokens that can appear here:\n! # ( * @ Int NAME NUMBER STRING String Time ^ after all always before disj eventually fun historically iden int let lone no none once one pred seq set some sum this univ { } ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-12-2 23:13:16"} {"_id": "gXJztDPdhmNkaWxzo", "cmd_i": 5, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways (all t : Train | t.pos = t.pos')\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (all t : Track | lone pos.t)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways (all s : Signal { \n \t\t \t\ts in Green implies eventually s not in Green or \n \t\t \t\ts not in Green implies s eventually s in Green\n\t\t\t})\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "jHfq8C6brgGFcQpbQ", "msg": "This must be a formula expression.\nInstead, it has the following possible type(s):\n{this/Signal}", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 16:35:35"} {"_id": "bsQ52CjBrF7teoFy4", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways(\n\t\tall t:Train {\n \tsome (t.pos & Exit) => no t.pos'\n \tsome (t.pos & (Track-Exit)) => some tk2: (t.pos).prox | t.pos' = tk2\n \t\t} \n \t)\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "BjkkhKRzgfzF8Dotj", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:15:02"} {"_id": "BZgiBiJPHhKeTynYr", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall disj t1,t2:Train | some (t1.pos &t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\tall s:Signal | (s in Green implies s not in Green') or (s not in Green implies s in Green')\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "QZ24K2j35LZSr7PxY", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 23:21:43"} {"_id": "eR6Yta2x4JXnw4aD7", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways all t : Train | t.pos' in t.pos.prox or t.pos in Exit\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways all s : Signal | s in Green => s not in Green' or s not in Green' => s in Green\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\t\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "9XGijNgzytRNitQ84", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-8 01:38:38"} {"_id": "8ijsgY6gdTxXukzHH", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n always (all t:Train| eventually (no t.pos and one t.pos':>Entry))\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "p2MseW7SZrqTv28xi", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 20:21:09"} {"_id": "NWkKNkMmntA4MzeLu", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Signal & Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t : Train | t.pos = t.pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t, t2 : Train | some (t.pos) => t.pos != t2.pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Bkt24rAPK7ZZAYoNj", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-12-3 10:36:36"} {"_id": "vGQFaMi6ZL2bpxv6d", "cmd_c": true, "cmd_i": 13, "cmd_n": "prop14ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\talways ( all t:Train | ( one (t.pos.signal :>Green) )implies (t.pos.signal in Signal-Green) )\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "WsHfbHTa9u396dCn7", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 19:54:33"} {"_id": "kcNwu65HDYvAGcLZC", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n always (all t:Train| eventually ( one t.pos':>Entry))\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Pdbpw5uvpfhCCno6q", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 20:22:30"} {"_id": "rN2dDmv6ZXTh3jFy4", "cmd_i": 8, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\talways ( all t:Train |(some t.pos) eventually (t.pos in Entry) )\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "JjLA4mCtdSKgvwTdp", "msg": "There are 1 possible tokens that can appear here:\n)", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-13 23:14:41"} {"_id": "YwfDX9xgFHYqEPZBZ", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n\t\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (all t1,t2:Train | t1.pos != t2.pos)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "aTcFDPK5KfHAnT4Tb", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-26 11:47:03"} {"_id": "EA2AjHCCe9Sm6FQnJ", "cmd_c": true, "cmd_i": 13, "cmd_n": "prop14ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\talways ( all t:Train | (some t.pos and one (t.pos.signal :>Green) and t.pos != t.pos' )implies (t.pos.signal in Signal-Green) )\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "uZ98cLjPYuNLSvrLs", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 19:51:30"} {"_id": "bB5tDmtvy7Knm2z96", "cmd_c": true, "cmd_i": 7, "cmd_n": "prop8ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways( all t:Train | some t.pos :> Exit implies eventually (no t.pos) )\n\talways( all t:Train | some t.pos :> (Track-Exit) implies eventually (t.pos in t.pos.prox) )\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways ( all s : Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green) )\n}\n\n\npred prop7 {\n\t\n\talways ( all t:Train | some t.pos :> Track implies eventually no t.pos :> Track )\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all tk:Track | some tk.signal implies (tk.signal in Green) releases ( #pos.tk' = #pos.tk ) ) \n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Ytunvd4fb8TNr4rJv", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:59:15"} {"_id": "DCyf3Q3tbQvyyRjGh", "cmd_c": true, "cmd_i": 16, "cmd_n": "prop17ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)'=t.pos) \n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways (all t:pos.Track | (t.pos)' in t.pos + t.pos.prox or (t.pos in Exit and (t.pos)' in t.pos))\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\talways (all t:pos.Track | eventually no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\talways (all j:Junction | lone (prox.j).signal & Green)\n \talways (lone (prox.Junction).signal & Green)\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\talways (all t:Train | some t.pos implies once t.pos in Entry) \n}\n\n\npred prop12 {\n\t\n\t\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\t\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\talways (all t:pos.Track | eventually (t.pos)' != t.pos)\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:pos.Exit | (always some t.pos) since t.pos in Entry)\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\talways (some t:Train | once (t.pos in Entry and historically no Entry) and eventually(t.pos in Exit and historically no Exit))\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "dPDF4LL7ZhYAbjNMY", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-1 21:28:14"} {"_id": "cW84XrTy7WTM38omr", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t : Track | always lone t.~pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n \t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\t\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n \n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "quQgzHBvMMKNTgAYW", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2021-1-7 10:10:40"} {"_id": "FnDeSMWSfG5kXrJwa", "cmd_i": 7, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (pos.(~pos) in iden)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n \talways (all s:Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green))\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\talways (all t:pos.Track | eventually no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:pos.Track.(signal-Green) | t.pos=(t.pos)' until t.pos.signal in Green )\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\talways (all j:Junction | lone ((prox.j).signal&Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n \t\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\t\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\t\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\t\n}", "derivationOf": "AWNbHmxejmxTe5YCZ", "msg": "- can be used only between 2 expressions of the same arity, or between 2 integer expressions.\nLeft type = {this/Track->this/Signal}\nRight type = {this/Signal}", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-29 14:55:05"} {"_id": "xynK92PLyCynoNcQa", "cmd_i": 3, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n always one pos.Track in Track\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "j2HEH2W6uYZvb7FM7", "msg": "This must be a set or relation.\nInstead, it has the following possible type(s):\n{PrimitiveBoolean}", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-12-2 22:41:33"} {"_id": "jjhqawSh3QcviHzvc", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "FwCGymHmbqcziisH5", "original": "FwCGymHmbqcziisH5", "theme": {"currentFramePosition": {}, "currentlyProjectedSigs": [], "generalSettings": {"currentLayout": "breadthfirst", "metaPrimSigs": [{"parent": null, "type": "univ"}, {"parent": "Feedback", "type": "AcceptedInvalidInstance"}, {"parent": "univ", "type": "Feedback"}, {"parent": "univ", "type": "Int"}, {"parent": "Track", "type": "Junction"}, {"parent": "Feedback", "type": "RejectedValidInstance"}, {"parent": "univ", "type": "Signal"}, {"parent": "univ", "type": "String"}, {"parent": "univ", "type": "Track"}, {"parent": "univ", "type": "Train"}, {"parent": "null", "type": "univ"}, {"parent": "Int", "type": "seq/Int"}, {"parent": "Feedback", "type": "AcceptedInvalidInstance"}, {"parent": "univ", "type": "Feedback"}, {"parent": "univ", "type": "Int"}, {"parent": "Track", "type": "Junction"}, {"parent": "Feedback", "type": "RejectedValidInstance"}, {"parent": "univ", "type": "Signal"}, {"parent": "univ", "type": "String"}, {"parent": "univ", "type": "Track"}, {"parent": "univ", "type": "Train"}, {"parent": "null", "type": "univ"}, {"parent": "Int", "type": "seq/Int"}], "metaSubsetSigs": [{"parent": "Track", "type": "this/Entry:Track"}, {"parent": "Track", "type": "this/Exit:Track"}]}, "nodePositions": {}, "relationSettings": {"edgeColors": [{"color": "#0074D9", "relation": "pos"}, {"color": "#0074D9", "relation": "signal"}, {"color": "#0074D9", "relation": "prox"}], "edgeStyles": [{"edgeStyle": "solid", "relation": "pos"}, {"edgeStyle": "solid", "relation": "signal"}, {"edgeStyle": "solid", "relation": "prox"}], "showAsArcs": [{"relation": "general", "showAsArcs": true}, {"relation": "pos", "showAsArcs": true}, {"relation": "signal", "showAsArcs": true}, {"relation": "AcceptedInvalidInstance", "showAsArcs": true}, {"relation": "Junction", "showAsArcs": true}, {"relation": "this/Entry:Junction", "showAsArcs": true}, {"relation": "this/Exit:Junction", "showAsArcs": true}, {"relation": "Train", "showAsArcs": true}, {"relation": "prox", "showAsArcs": true}, {"relation": "Track", "showAsArcs": true}, {"relation": "this/Entry:Track", "showAsArcs": true}, {"relation": "Signal", "showAsArcs": true}, {"relation": "this/Green:Signal", "showAsArcs": true}, {"relation": "RejectedValidInstance", "showAsArcs": true}], "showAsAttributes": [{"relation": "signal", "showAsAttributes": false}, {"relation": "pos", "showAsAttributes": false}, {"relation": "prox", "showAsAttributes": false}]}, "sigSettings": {"nodeBorders": [{"border": "solid", "type": "univ"}, {"border": "inherit", "type": "AcceptedInvalidInstance"}, {"border": "inherit", "type": "Feedback"}, {"border": "inherit", "type": "Int"}, {"border": "inherit", "type": "this/Entry:Junction"}, {"border": "inherit", "type": "Junction"}, {"border": "inherit", "type": "Track"}, {"border": "inherit", "type": "this/Green:Signal"}, {"border": "inherit", "type": "Signal"}, {"border": "inherit", "type": "Train"}, {"border": "inherit", "type": "seq/Int"}, {"border": "inherit", "type": "general"}, {"border": "inherit", "type": "this/Exit:Junction"}, {"border": "inherit", "type": "this/Entry:Track"}, {"border": "inherit", "type": "RejectedValidInstance"}, {"border": "inherit", "type": "this/Exit:Track"}], "nodeColors": [{"color": "#2ECC40", "type": "univ"}, {"color": "#AAAAAA", "type": "AcceptedInvalidInstance"}, {"color": "inherit", "type": "Feedback"}, {"color": "inherit", "type": "Int"}, {"color": "inherit", "type": "this/Entry:Junction"}, {"color": "#0074D9", "type": "Junction"}, {"color": "#0074D9", "type": "Track"}, {"color": "#2ECC40", "type": "this/Green:Signal"}, {"color": "#FF4136", "type": "Signal"}, {"color": "#FFDC00", "type": "Train"}, {"color": "inherit", "type": "seq/Int"}, {"color": "inherit", "type": "general"}, {"color": "inherit", "type": "this/Exit:Junction"}, {"color": "inherit", "type": "this/Entry:Track"}, {"color": "#AAAAAA", "type": "RejectedValidInstance"}, {"color": "inherit", "type": "this/Exit:Track"}], "nodeShapes": [{"shape": "ellipse", "type": "univ"}, {"shape": "octagon", "type": "AcceptedInvalidInstance"}, {"shape": "inherit", "type": "Feedback"}, {"shape": "inherit", "type": "Int"}, {"shape": "inherit", "type": "this/Entry:Junction"}, {"shape": "inherit", "type": "Junction"}, {"shape": "rectangle", "type": "Track"}, {"shape": "inherit", "type": "this/Green:Signal"}, {"shape": "inherit", "type": "Signal"}, {"shape": "pentagon", "type": "Train"}, {"shape": "inherit", "type": "seq/Int"}, {"shape": "inherit", "type": "general"}, {"shape": "inherit", "type": "this/Exit:Junction"}, {"shape": "inherit", "type": "this/Entry:Track"}, {"shape": "octagon", "type": "RejectedValidInstance"}, {"shape": "inherit", "type": "this/Exit:Track"}], "nodeVisibility": [{"type": "univ", "visibility": false}, {"type": "Int", "visibility": true}, {"type": "seq/Int", "visibility": true}, {"type": "general", "visibility": false}, {"type": "AcceptedInvalidInstance", "visibility": false}, {"type": "this/Entry:Junction", "visibility": false}, {"type": "this/Green:Signal", "visibility": false}, {"type": "Train", "visibility": false}, {"type": "Junction", "visibility": false}, {"type": "this/Exit:Junction", "visibility": false}, {"type": "Signal", "visibility": false}, {"type": "this/Entry:Track", "visibility": false}, {"type": "Track", "visibility": false}, {"type": "RejectedValidInstance", "visibility": false}, {"type": "this/Exit:Track", "visibility": false}]}}, "time": "2020-11-24 17:23:43"} {"_id": "DLfgqgehLztgbf68Y", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green \n}\n\n\npred prop3 {\n\t// Trains never move\n always all t: Train, tk: Track | t->tk in pos implies always t->tk in pos and t->tk not in pos implies always t->tk not in pos \n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "DRg6tLdWBuuFfnGfh", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 22:53:30"} {"_id": "a8rbSKRQNbmDKP7cg", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways all t : Train | t.pos' in t.pos.prox\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\t\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "FoT3cytj8eDf962nb", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-8 01:30:33"} {"_id": "nvEgFBXyARLBcGzZT", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n \t\n \tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n all t:Train |{\n \talways (t.pos in Exit implies t.pos'= t.pos)\n \t\n }\n \t\n}\n\n\npred prop6 {\n\t\n\talways (all s:Signal | always (s in Green) implies eventually (s not in Green ) or \n\t\t\t \t\t\talways s not in Green implies eventually (s in Green) )\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "7XEHgWXccYz7Ss3eY", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 21:54:09"} {"_id": "hiyJLGuHEoHBPsFR8", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n \n all s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways pos = pos and (always all t : (Train - pos.Track) | t.pos not in Track implies always t.pos not in Track)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "MQeaKWF4jwqyeaxBn", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 23:18:23"} {"_id": "spf2LzQbojh5Nch3D", "cmd_i": 5, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways (all s:Signals | (s in Green implies always (no (s & Green'))) or no (s & Green) implies always (some (s & Green')) )\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "fQP8g3mpPttWojuLz", "msg": "There are 38 possible tokens that can appear here:\n! # ( * @ Int NAME NUMBER STRING String Time ^ after all always before disj eventually fun historically iden int let lone no none once one pred seq set some sum this univ { } ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 23:35:54"} {"_id": "fWqRw4G2S62LeMkog", "cmd_i": 7, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways (all t:Train |(t.pos.signal) in (Signal-Green) implies some t.pos.rox and (some t.pos') since ((t.pos'.signal) in Green))\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "S3FrRJJgR4gJTnoyH", "msg": "The name \"rox\" cannot be found.", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-13 22:48:38"} {"_id": "weG9RvWywMEpTFEF3", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n always all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "jERJtyEiqWafScKvk", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 22:35:28"} {"_id": "539CKmuEYxiiPjvvA", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\talways (all t:Track | Green not in t.signal until (Green in t.signal))\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Jev2MHiuTmPue7ezf", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-26 16:42:51"} {"_id": "ds8FxKRMHEYRXCp4A", "cmd_c": true, "cmd_i": 6, "cmd_n": "prop7ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t\n\talways (all s:Signal | always (s in Green) implies eventually (s not in Green ) or \n\t\t\t \t\t\talways s not in Green implies eventually (s in Green) )\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\talways (all t:Train | some (t.pos & Entry ) implies eventually some (t.pos & Exit) )\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "PPfTqQTouo8q76jSi", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 10:41:31"} {"_id": "oFCFB8k8e5EzFnGNB", "cmd_c": true, "cmd_i": 6, "cmd_n": "prop7ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\tall t:Train{\n \t\talways( t.pos in Exit implies eventually no t.pos)\n \t\talways( t.pos in Entry implies eventually t.pos in t.pos.prox)\n \t}\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways ( all s : Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green) )\n}\n\n\npred prop7 {\n\t\n\talways ( all t:Train | some t.pos :> Track implies eventually no t.pos :> Track )\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "JQPZALKgQ5486TkjX", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2021-1-13 22:33:16"} {"_id": "u28KE4nxLmvnwSQPz", "cmd_c": true, "cmd_i": 6, "cmd_n": "prop7ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t : Track | always lone t.~pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways all t : Train {\n \t((t.pos = Exit) implies (no t.pos'))\n \t\t or\n (t.pos' in t.pos.prox)\n \t}\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n \t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\teventually all t : Train | (t.pos = Exit) implies (no t.pos')\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "WHxmSWFk4L3ofkkew", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-17 00:43:26"} {"_id": "kPYWo6KLskKWkEXWX", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\talways Signal not in Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "CW8TAAqnwos7iE6Li", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-26 10:43:54"} {"_id": "woo8z5bcf9RfSxHTJ", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "FwCGymHmbqcziisH5", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-19 09:12:52"} {"_id": "KXNnpwnMT7JscmhS5", "cmd_i": 3, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n\t\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (all disj t1,t2:Train | some (t1.pos :> Track and t2.pos :> Track) implies t1.pos != t2.pos) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "MTPQXnMJaWirKg5CK", "msg": "This must be a formula expression.\nInstead, it has the following possible type(s):\n{this/Track}", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-26 11:48:25"} {"_id": "7QxmnWQvP3jyYmKW9", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Signal & Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "rbfuqHskngQWQd4A8", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-12-3 10:27:46"} {"_id": "m8FbpfaAhHHe6MQ3R", "cmd_c": true, "cmd_i": 7, "cmd_n": "prop8ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways (all t:Train |(some t.pos and some t.pos.signal and some t.pos.prox) and (t.pos.signal) in (Signal-Green) implies(some t.pos') since ((t.pos'.signal) in Green))\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "3nQnbSAtFcxZjRD5W", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:51:49"} {"_id": "hCvheJJrkRc9noqTA", "cmd_i": 3, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green \n}\n\n\npred prop3 {\n\t// Trains never move\n \n all t: Train, tk: Track | (t->tk in pos implies always t->tk in pos) and (t->tk not in pos implies always t->tk not in pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n all t: Train | always (t.prox.~t.prox) in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "kt9sbAGdFcQT7FBwh", "msg": "~ can be used only with a binary relation.\nInstead, its possible type(s) are:\n{this/Train}", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 23:14:20"} {"_id": "Kx2HuafDZdeZxkFXB", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n }\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n}\n\n\npred prop3 {\n\t// Trains never move\n\t\talways no prox\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Qaeeo7tdinLSHMZp5", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-11 17:15:17"} {"_id": "bNDN6BC2LTPmg4fm5", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tall t:Track | once Green not in t.signal\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Zon9qo6puLBmAqiy8", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-26 16:32:11"} {"_id": "YEDHYsNR2oypmMmnj", "cmd_c": true, "cmd_i": 7, "cmd_n": "prop8ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways( all t:Train | some t.pos :> Exit implies eventually (no t.pos) )\n\talways( all t:Train | some t.pos :> (Track-Exit) implies eventually (t.pos in t.pos.prox) )\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways ( all s : Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green) )\n}\n\n\npred prop7 {\n\t\n\talways ( all t:Train | some t.pos :> Track implies eventually no t.pos :> Track )\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.prox.signal implies (t.pos.prox.signal in Green) releases (t.pos' = t.pos) ) \n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "7HDazaamzmN8Ci6y8", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:56:05"} {"_id": "SMJBQiY2SiFdDS9eX", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "W2MAuRRCmBE8kQC2q", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2021-1-13 21:36:11"} {"_id": "pPvQ9F8ff4j7WjBqX", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\tall t: Train | always t.pos = x\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "PcxtroXyE8n7PLBC4", "msg": "The name \"x\" cannot be found.", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 22:46:01"} {"_id": "DYn6qhCMDzs4uGk3M", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal - Green | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways (Train.pos' = Train.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "6JSabfh7ScpjBeTu2", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 21:32:56"} {"_id": "nYbPR4WmdicYGYq55", "cmd_c": true, "cmd_i": 14, "cmd_n": "prop15ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (pos.(~pos) in iden)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\talways (all j:Junction | lone ((prox.j).signal&Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\tall t:Train | always one t.pos implies eventually (t.pos)' != t.pos\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\t\n}", "derivationOf": "758CgPsei3BbcmE6j", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 19:53:30"} {"_id": "J7XDrjEnvGXx5A3fh", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n \n}\n\n\npred prop3 {\n\t// Trains never move\n\tone Train.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "vmZBLbEjLvtpYpnEk", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-18 16:56:17"} {"_id": "8agr4BFJcnYJLm4FH", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\tall s : Signal | always (s in Green implies s' not in Green) or \n (s not in Green implies s' in Green)\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "X827SPYqu2tp5bzMA", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 23:12:46"} {"_id": "tg69cJ5y9SgkMkJkZ", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n \n all s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \t\n \talways pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways ~prox.prox in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "f5DDyvGotcQoRurpg", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 23:20:49"} {"_id": "mckLa2gApeQ6TeGAz", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green \n}\n\n\npred prop3 {\n\t// Trains never move\n always all t: Train, tk: Track | t->tk in pos implies always t->tk in pos or t->tk not in pos implies always t->tk not in pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "k3MWgFeZfCfT9NbKK", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 22:47:47"} {"_id": "HPFEFFafMGiKbrgiR", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n \n all s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n always ~pos.pos in iden and (always all t : Train | lone t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "QjJo8HpfLTtgha5XE", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 22:44:36"} {"_id": "X827SPYqu2tp5bzMA", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways some s : Signal | (s in Green implies s' not in Green) or \n (s not in Green implies s' in Green)\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "GfJ3oS684tFZid3nt", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 23:12:25"} {"_id": "vmZBLbEjLvtpYpnEk", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n one Train.pos\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "5KNdd7QcHEZGQQQYT", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-18 16:55:05"} {"_id": "FoT3cytj8eDf962nb", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways all t : Train | t.pos' in t.pos.next \n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\t\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "BC72eXpKW48pHYReK", "msg": "The join operation here always yields an empty set.\nLeft type = {this/Track}\nRight type = {Int->Int}", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-8 01:30:06"} {"_id": "ji6hcSsLZasXaxrAC", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways( all t:Train | some t.pos :> Exit implies eventually (no t.pos) )\n\talways( all t:Train | some t.pos :> (Track-Exit) implies eventually (t.pos in t.pos.prox) )\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways ( all s : Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green) )\n}\n\n\npred prop7 {\n\t\n\talways ( all t:Train | some t.pos :> Track implies eventually no t.pos :> Track )\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal not in Green) implies t.pos' = t.pos )\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\tall t:Train | some tk:Entry | t->tk not in pos implies eventually (t->tk in pos and before no t.pos)\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "ArnMtqRtpsvhGXLLi", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:35:18"} {"_id": "AcqvSP2ng7cR58bJ6", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n always eventually some Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "uogwjypYRrzTSe4eb", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 22:26:09"} {"_id": "6qej7WszGSbts2CPB", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal - Green | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways(all t : Train | always (t.pos' = t.pos))\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\t\n \talways (all disj t1,t2 : Train | no (t1.pos & t2.pos)) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\tall t : Train | some (t.pos & Exit) implies Train' = Train - t \n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "HPLdS9bNjzw67rdKM", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 21:50:45"} {"_id": "jCZwPuTmZd9tNvGzB", "cmd_c": true, "cmd_i": 14, "cmd_n": "prop15ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (some Train implies Train.pos!=Train.pos' )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "8EXbLeo38zwhn63aZ", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 20:03:45"} {"_id": "xE3tfX2Ard2QvxQwS", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies no t.pos')\n always (t.pos in Track-Exit implies t.pos' in t.pos.prox )\n }\n}\n\n\npred prop6 {\n\t\n\talways (all s:Signal | always (s in Green) implies eventually (s not in Green ) or \n\t\t\t \t\t\talways s not in Green implies eventually (s in Green) )\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "hEhaeHs2CkvFnZAwP", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:11:15"} {"_id": "CSfh4veZPbjeKwgtT", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all t : Track | eventually t.signal in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n all t : Train | always t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n all t1, t2 : Train | always t1.pos != t2.pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "uAmE5cNb2SBDevAF6", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-9 14:07:41"} {"_id": "6LYo3fDNLaCW39n9K", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall disj s1, s2 : Signal-Entry | always s1.pos != s2.pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "DAFKZ4qRZhNGK6ajT", "msg": "- is irrelevant since the right expression is redundant.\nParent's relevant type = {this/Signal}\nLeft type = {this/Signal}\nRight type = {this/Track}", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-17 00:06:26"} {"_id": "EoGzFEMtaQ8W8f7zm", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\t\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways (Green = Signal and no Green' or no Green and Green' = Signal)\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Skk6SYvRHqpwfrqqh", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-5 00:27:11"} {"_id": "Nn4y4BhQFveQMsHhB", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways (all t : Train | t.pos = t.pos')\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (all t : Track | lone pos.t)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways Green' = Signal - Green\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "fdahJAGbot3iG6GC9", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 16:24:02"} {"_id": "GfC5e9oJtifBhWyT7", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways (all t:Train |(t.pos.signal) in (Signal-Green) implies (some t.pos') and ((t.pos.signal) in Green))\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "33DPcw2SeKyFTgsT8", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:39:10"} {"_id": "3QN2YB97naPsrAdHi", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n no Green\n\t// Intially all signals are red\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s : Signal | eventually s in Green\n\n}\n\n\npred prop3 {\n // Trains never move\n always all t : Train | always one t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "8uKf8K62XMTwPsSh6", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 22:42:47"} {"_id": "6dgeCQJ57xf2ZkAXH", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n always (all t:Train|(one t.pos:> Exit and some t.pos.prox => no t.pos'))\n always (all t:Train| (one t.pos and some t.pos.prox => t.pos' in t.pos.prox ) )\n\n \n \n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Nxhh67crq4bfC32LW", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 20:45:19"} {"_id": "kwNi58SGbu9f9BogJ", "cmd_c": true, "cmd_i": 6, "cmd_n": "prop7ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\t\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\tall t : Train | eventually t.pos in Entry\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "8kf3HGTXJePATtsJi", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-5 00:29:58"} {"_id": "wDAea2jhCaJ8EZtY7", "cmd_i": 10, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways ( all s : Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green) )\n}\n\n\npred prop7 {\n\t\n\talways ( all t:Train | some t.pos :> Track implies eventually no t.pos :> Track )\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal not in Green) implies t.pos' = t.pos )\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t\n\talways ( all j:Junction | lone ( (prox.j).signal & Green ) )\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\talways ( all t:Train | some t.pos implies once t.pos :> Entry)\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "ujW7JrCoP2fJq9t9z", "msg": "This expression failed to be typechecked line 95, column 44, filename=/tmp/alloy_heredoc16354272063487354774.als", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-13 23:54:54"} {"_id": "67enGERtJnfXSfypn", "cmd_c": true, "cmd_i": 7, "cmd_n": "prop8ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways( all t:Train | some t.pos :> Exit implies eventually (no t.pos) )\n\talways( all t:Train | some t.pos :> (Track-Exit) implies eventually (t.pos in t.pos.prox) )\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways ( all s : Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green) )\n}\n\n\npred prop7 {\n\t\n\talways ( all t:Train | some t.pos :> Track implies eventually no t.pos :> Track )\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal not in Green) implies t.pos' = t.pos )\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Bij5wWJCHt7997Zqk", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2021-1-13 23:05:19"} {"_id": "yPruPfaF6NswRjiSX", "cmd_c": true, "cmd_i": 14, "cmd_n": "prop15ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\teventually always (all t: Train| t.pos != t.pos')\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "AbMmjhAJQa7WTGgYH", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 19:43:33"} {"_id": "WHxmSWFk4L3ofkkew", "cmd_c": true, "cmd_i": 6, "cmd_n": "prop7ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t : Track | always lone t.~pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways all t : Train {\n \t((t.pos = Exit) implies (no t.pos'))\n \t\t or\n (t.pos' in t.pos.prox)\n \t}\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n \t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\teventually all t : Train | (always no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "WxiPx7hkfcRiRLj46", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-17 00:41:50"} {"_id": "vJhiv9m6TD8NaFD3N", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n \n all s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n always (pos = after pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "uvrbwXqMXZZhFCg27", "msg": "There are 29 possible tokens that can appear here:\n# ( * @ Int NAME NUMBER STRING String Time ^ all disj fun iden int let lone no none one pred seq some sum this univ { ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 22:47:02"} {"_id": "oWfJ5fTG7QnRDXWka", "cmd_c": true, "cmd_i": 7, "cmd_n": "prop8ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways (all t:Train |(t.pos.signal) in (Signal-Green) implies some t.pos.prox and (some t.pos') since ((t.pos'.signal) in Green))\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "fWqRw4G2S62LeMkog", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:48:44"} {"_id": "35FLhpzbCjDnsbQn2", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\teventually (Signal in Green)\n \t\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "qCwYpsCtPmF4gA2iF", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 23:00:14"} {"_id": "ehBaHfb2aLtLhGxCv", "cmd_i": 1, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\teventually (Green = Signal\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "fMyM6Qh39kXdQZrY4", "msg": "There are 1 possible tokens that can appear here:\n)", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 16:04:55"} {"_id": "mJFBBdhac625m5gQt", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\t \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\teventually (all s:Signal | s in Green)\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "WCN55DuPE5c6zi7ez", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-28 15:53:11"} {"_id": "HcyjQfoKkGb6Mi2Bx", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green \n}\n\n\npred prop3 {\n\t// Trains never move\n always all t: Train, tk: Track | t.pos.tk in pos implies after t.pos.tk in pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "xs6qSjb6dwrsrTmJW", "msg": "This cannot be a legal relational join where\nleft hand side is <integer/pos[t];t . (this/Train <: pos);> (type = {this/Track})\nright hand side is tk (type = {this/Track})", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 22:45:34"} {"_id": "dTn4nqReQJPjBwySF", "cmd_c": true, "cmd_i": 7, "cmd_n": "prop8ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies no t.pos')\n always (t.pos in Entry implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\tall t:Train |(t.pos.signal) in (Signal-Green) implies (some t.pos') implies ((t.pos.signal) in Green)\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "awz8dvhMhnT8NfFEC", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:27:23"} {"_id": "TZRC9ZCkxcBHEGEjA", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \tall t: Train, tt: Track | t->tt in pos implies always t->tt in pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\t\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "rQfguYSfnG77HbvSr", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 23:10:54"} {"_id": "CFZoBTevEfQttXBnn", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t (all t:Train | no t.pos implies eventually (some (t.pos.prox & Entry ) and some t.pos and t.pos in Entry) )\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "JAnpGHoReaj59BPoE", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:32:47"} {"_id": "QL4xhLXvQdFi2PA7Y", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tall t : Track | t.signal not in Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "mJPQjbLsADkJbwBDG", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-3 10:25:41"} {"_id": "5KNdd7QcHEZGQQQYT", "cmd_i": 1, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall Signal in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "idYuCd6rCJ62xKSry", "msg": "The \"all x\" construct is no longer supported. If you know the range of possible values of x, consider rewriting it as \"x == set_of_all_possible_values\".", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-18 16:46:24"} {"_id": "hvesXMXCrCBffhM9q", "cmd_c": true, "cmd_i": 6, "cmd_n": "prop7ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t : Track | always lone t.~pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways all t : Train {\n \t((t.pos = Exit) implies (no t.pos'))\n \t\t or\n (t.pos' in t.pos.prox)\n \t}\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n \t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\tall t : Train | eventually always no t.pos\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "h8KTJ3QpXaLeQ4sAf", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-17 00:39:28"} {"_id": "Rpxo7eosoJ43N6xAC", "cmd_c": true, "cmd_i": 10, "cmd_n": "prop11ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)'=t.pos) \n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways (all t:pos.Track | (t.pos)' in t.pos + t.pos.prox or (t.pos in Exit and (t.pos)' in t.pos))\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\talways (all t:pos.Track | eventually no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\talways (all j:Junction | lone (prox.j).signal & Green)\n \talways (lone (prox.Junction).signal & Green)\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\talways (all t:pos.Track | once t.pos in Entry) \n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "i6zZea6jukAcLuySN", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-1 21:09:01"} {"_id": "je3QfYCfSYrSbkf7n", "cmd_c": true, "cmd_i": 13, "cmd_n": "prop14ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\talways ( all t:Train | (some t.pos and one t.pos.signal and some (t.pos.signal :>Green) )implies (t.pos'.signal in Signal-Green) )\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "2cJH6Jk3d4b9shaG4", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 19:50:17"} {"_id": "P3WkBNjvjXjTEetgw", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s:Signal | eventually s in Green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n always all t:Train | t.pos = t.pos'\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "FJfDE3m9ya9jbiExE", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-12-16 18:58:00"} {"_id": "YGspww6b5xEr754sc", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' =t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "qWa9FJbvf7pvqDXZJ", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-25 23:02:37"} {"_id": "LEo5KXWH9L5fYbQqA", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n always all t: Train | always one t.pos implies after t in t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "kaQrshhmi5xC8M4Py", "msg": "Subset operator is redundant, because the left and right subexpressions are always disjoint.\nLeft type = {this/Train}\nRight type = {this/Track}", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 22:44:41"} {"_id": "56SimDTqpkPSSWTzf", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n \n all s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n always ~pos.pos in iden \n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "YkYyaxjsyupZNCJbg", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 22:43:40"} {"_id": "yvqiQ4PoS4EeMCFBD", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n }\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n}\n\n\npred prop3 {\n\t// Trains never move\n\t no Train.prox\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "6hMPzdPJCtoFQqy83", "msg": "The join operation here always yields an empty set.\nLeft type = {this/Train}\nRight type = {this/Track->this/Track}", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-11 17:13:30"} {"_id": "tPxqcJBA7qZBgGP6e", "cmd_i": 1, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n \n all s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n always all t : Train | (t.pos in after t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "tduXtQx6pXr4Qtkkz", "msg": "There are 29 possible tokens that can appear here:\n# ( * @ Int NAME NUMBER STRING String Time ^ all disj fun iden int let lone no none one pred seq some sum this univ { ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 22:48:03"} {"_id": "ZeAAQqS5TSGoEuDwL", "cmd_i": 3, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways ()\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (pos.(~pos) in iden)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "dBAgaFNt3SkLCxEtg", "msg": "There are 37 possible tokens that can appear here:\n! # ( * @ Int NAME NUMBER STRING String Time ^ after all always before disj eventually fun historically iden int let lone no none once one pred seq set some sum this univ { ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 19:35:32"} {"_id": "XJcW9yN9zLxHezCes", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies no t.pos')\n always (t.pos in Track-Exit implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n\talways (all s:Signal | always (s in Green) implies eventually (s not in Green ) or \n\t\t\t \t\t\talways s not in Green implies eventually (s in Green) )\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "e8ZaYNp7PjjggKERf", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:12:07"} {"_id": "5fH9iAEqfcEb5mPWo", "cmd_i": 8, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n always (all t:Train|(one t.pos:> Exit => no t.pos) or (one t.pos => t.pos' in t.pos.prox ) \n \n \n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "C3R59mW4C2WsDR6zh", "msg": "There are 1 possible tokens that can appear here:\n)", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-16 20:36:13"} {"_id": "Zi9whaGYDNn7Z2GxR", "cmd_i": 5, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways (all t : Train | t.pos = t.pos')\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (all t : Track | lone pos.t)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways all s : Signal | \n \t\t \t\ts in Green implies eventually s not in Green or \n \t\t \t\ts not in Green implies s eventually s in Green\n\t\t\t)\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "DEWYCWhDphuTsr3ij", "msg": "There are 38 possible tokens that can appear here:\n! # ( * @ Int NAME NUMBER STRING String Time ^ after all always before disj eventually fun historically iden int let lone no none once one pred seq set some sum this univ { } ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 16:37:14"} {"_id": "yNeYKMSYpZrNuZTXE", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n always Train.pos in one Track implies after Train.pos in one Track\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "kjiPzLq98g4oTqzSo", "msg": "There are 29 possible tokens that can appear here:\n# ( * @ Int NAME NUMBER STRING String Time ^ all disj fun iden int let lone no none one pred seq some sum this univ { ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-12-2 22:51:43"} {"_id": "yDNBJPGNvHZfG3wSp", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (pos.(~pos) in iden)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\tall t:Train | some t.pos and eventually t.pos in Entry\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "AwjDRqi8Rx5iGbs9W", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 19:41:12"} {"_id": "BSigNfQikbaZB4Swt", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n \n all s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways pos = after pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "9SWLZyRTvMwRSWWhD", "msg": "There are 29 possible tokens that can appear here:\n# ( * @ Int NAME NUMBER STRING String Time ^ all disj fun iden int let lone no none one pred seq some sum this univ { ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 23:04:03"} {"_id": "pRQQi2skS7Q7gYvac", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways Signal & Green not in Signal' & Green' or Signal - Green in Signal' & Green'\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\t\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "QqKPhoBXdAAfPyWDW", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-8 01:43:12"} {"_id": "y7ZtAGLfWdWZAjpaB", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n no Green\n\t// Intially all signals are red\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n always all s : Signal | eventually s in Green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "RDSoQyrdJMSQeLBZK", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 22:36:31"} {"_id": "RcLisScW3x5izDFF8", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\tall t : Train | t.pos = t.pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "ktpc4AxRbFda76sEm", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 16:06:44"} {"_id": "F3wJw2ffaFpbrhZcF", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways( all t:Train | some t.pos :> Exit implies eventually (no t.pos) )\n\talways( all t:Train | some t.pos :> (Track-Exit) implies eventually (t.pos in t.pos.prox) )\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways ( all s : Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green) )\n}\n\n\npred prop7 {\n\t\n\talways ( all t:Train | some t.pos :> Track implies eventually no t.pos :> Track )\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal not in Green) implies t.pos' = t.pos )\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\talways ( all t:Train | (no t.pos) until (some t.pos :> Entry) )\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "u4Mua3McZbvkdwK7k", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:09:21"} {"_id": "pMGhxMfSFnjnJNxao", "cmd_c": true, "cmd_i": 13, "cmd_n": "prop14ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\talways ( all t:Train | (some t.pos and some (t.pos.signal :>Green) )implies (t.pos'.signal in Signal-Green) )\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "vmaGBN9TW2TWFBDXw", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 19:49:24"} {"_id": "qEyNnem8pR78J4zxk", "cmd_i": 8, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n (all t:Train| eventually (no t.pos after one (t.pos':>Entry)) )\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "fFn5M9HbMg6PAeTJx", "msg": "There are 1 possible tokens that can appear here:\n)", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-16 20:32:42"} {"_id": "GMAtGrioWi3y8YFKz", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tall t:Track | t.signal not in Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "3j2uoQGg9whgH3XWT", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-8 04:26:25"} {"_id": "5WdWqjfvr53wzWSYa", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all t : Track | eventually t.signal in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "yX5j2qRNeq9SFQ9P3", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-12-9 14:04:57"} {"_id": "38jKjLqcagf7N4PGM", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall tk : Track | lone pos.tk :> Train\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "cSGKZaWhs4T8sn2kP", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 21:26:51"} {"_id": "wwB8NZS4WxFBdigHr", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n all t: Train | always t.pos = after t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "LHjRLwYERrHh55n6K", "msg": "There are 29 possible tokens that can appear here:\n# ( * @ Int NAME NUMBER STRING String Time ^ all disj fun iden int let lone no none one pred seq some sum this univ { ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-12-2 22:47:46"} {"_id": "idSsPCMc4jQ3DuPgG", "cmd_c": true, "cmd_i": 9, "cmd_n": "prop10ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (pos.(~pos) in iden)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\talways (all j:Junction | lone ((prox.j).signal&Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "yDNBJPGNvHZfG3wSp", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-25 19:43:30"} {"_id": "Hcj8dfq4M3YegXLic", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal - Green | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways (no Train.pos.prox)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "8BuzZ78Qwqyku5guM", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 21:35:51"} {"_id": "3fwMQEoRzByygMubR", "cmd_c": true, "cmd_i": 6, "cmd_n": "prop7ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t : Track | always lone t.~pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways all t : Train {\n \t((t.pos = Exit) implies (no t.pos'))\n \t\t or\n (t.pos' in t.pos.prox)\n \t}\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n \t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\teventually all t : Train | no t.pos\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "iyeFBBPDHr2zATriH", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-17 00:38:22"} {"_id": "LJmMTF6po2zqo7A9k", "cmd_i": 3, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n\t\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (t1,t2:Train | t1.pos != t2.pos)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "BXCSuzYQBNpvjjcqX", "msg": "There are 1 possible tokens that can appear here:\n)", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-26 11:42:53"} {"_id": "nswCdqfpyyrqpLCzY", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways all t : Train | t.pos' in t.pos.prox or Exit in t.pos.next => t.pos' in Exit\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\t\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "mmwRHXJnLwt6SSLTQ", "msg": "The join operation here always yields an empty set.\nLeft type = {this/Track}\nRight type = {Int->Int}", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-8 01:33:52"} {"_id": "Jy7HyndXDqp94aHhw", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t : Track | always lone t.~pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways all t : Train {\n \t((t.pos = Exit) implies (no t.pos'))\n \t\t or\n (t.pos' in t.pos.prox)\n \t}\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\tall t : Track | always t.signal != t.signal'\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "ppneJXxFt3MizCZHg", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-17 00:31:17"} {"_id": "JAnpGHoReaj59BPoE", "cmd_i": 8, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t (all t:Train |implies eventually (some (t.pos.prox & Entry ) and some t.pos and t.pos in Entry) )\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "kW5HhSEyPvX79Cerz", "msg": "There are 37 possible tokens that can appear here:\n! # ( * @ Int NAME NUMBER STRING String Time ^ after all always before disj eventually fun historically iden int let lone no none once one pred seq set some sum this univ { ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-13 23:32:40"} {"_id": "F3Yw2hurWNdQgGgdu", "cmd_i": 1, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n \n all s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n always all t : Train | t.pos in after t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "tPxqcJBA7qZBgGP6e", "msg": "There are 29 possible tokens that can appear here:\n# ( * @ Int NAME NUMBER STRING String Time ^ all disj fun iden int let lone no none one pred seq some sum this univ { ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 22:48:13"} {"_id": "iPZhEpDTbRpdkntgy", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n \n all s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \t\n \talways pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n always all t : Train | some t1 : Track | t.pos = t1 implies after t.pos in (t1.prox + t1) \n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "F8LGtHDiki7nfPLnw", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 23:26:59"} {"_id": "xsYS2FdfasvnDNXkE", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n always eventually all s: Signal | s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "weG9RvWywMEpTFEF3", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 22:36:12"} {"_id": "4NSwuo4gkLvZfpFpL", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n \n all s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways pos = pos and (all t : Train | t.pos not in Track implies always t.pos not in Track)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "BsjRrmEAfEnfuNfjF", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 23:16:12"} {"_id": "vTvARtag9knJyeMGo", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t all t:Train | t.pos not in Entry implies before no t.pos and eventually ( some t.pos & Entry) \n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "P7GzZbxsNoFnBWGWE", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:40:46"} {"_id": "PSwpQJT8Z6zw5oyoS", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall tk : Track | lone Train <: pos.tk\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "38jKjLqcagf7N4PGM", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 21:27:03"} {"_id": "rFaDG8MARFbRizPGZ", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n \n all s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "hiyJLGuHEoHBPsFR8", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-25 23:18:43"} {"_id": "eqQyufE7K9bYsiG2P", "cmd_i": 4, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\tall t:Train {\n \t\tt.pos in Exit => no t.pos'\n \tt.pos not in Exit => t.pos' = one (t.pos).prox\n \t} \n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "3Xx5EojFNCQpi28Tc", "msg": "There are 29 possible tokens that can appear here:\n# ( * @ Int NAME NUMBER STRING String Time ^ all disj fun iden int let lone no none one pred seq some sum this univ { ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-13 21:42:21"} {"_id": "egzsXEQBoc4WEeQcL", "cmd_c": true, "cmd_i": 12, "cmd_n": "prop13ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "mnnXkn4uzagEsgqpW", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2021-1-16 20:09:10"} {"_id": "XWQ7DD7DSKdidKr6b", "cmd_i": 16, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\t\talways ( one (Train.pos) => before Train.pos:>Exit )\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "BhGBCvigGL5dipnAf", "msg": "This expression failed to be typechecked line 144, column 31, filename=/tmp/alloy_heredoc3889274414476065976.als", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-16 20:14:29"} {"_id": "Bkt24rAPK7ZZAYoNj", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Signal & Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t : Train | t.pos = t.pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t, t2 : Train | t.pos != t2.pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "63TwSvA7ypSkhFas2", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-3 10:32:01"} {"_id": "6zcX4s9m33hXWABjF", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\tall t : Train | t.pos = t.pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (all t : Track | lone pos.t)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways all s : Signal | Green \n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "NbFSzHiEGwCsJg9xY", "msg": "This must be a formula expression.\nInstead, it has the following possible type(s):\n{this/Signal}", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 16:13:07"} {"_id": "QnE3ayEGdF9ecBCMk", "cmd_i": 3, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal - Green | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways(all t : Train | always (t.pos' = t.pos))\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tTrain.pos in iden \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "hBBgeDE2BT4caXGus", "msg": "in can be used only between 2 expressions of the same arity.\nLeft type = {this/Track}\nRight type = {univ->univ}", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-13 21:43:42"} {"_id": "pQ4DpwdrDfbMXz7XH", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t: Train | one tr: Track | always t in pos.tr implies t' in pos.tr\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "gSYyRo3qFyJHm7k29", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 22:31:34"} {"_id": "cAThvfBg8Bt2MZL3E", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n \n all s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \tFalse releases always pos \n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "LDnrBoepBQSaFdeCD", "msg": "The name \"False\" cannot be found.", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 22:56:44"} {"_id": "psgkLmTYu6b39bW4g", "cmd_i": 8, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n (all t:Train| (no t.pos after one (t.pos':>Entry) )\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "h7iAevtunSgoefFXL", "msg": "There are 1 possible tokens that can appear here:\n)", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-16 20:32:26"} {"_id": "ignNfNEE2FRjnoHvp", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n eventually always (all t:Train| (no t.pos and after one t.pos:>Entry) )\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "SA9FPn3XSTHuZGju3", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 20:25:42"} {"_id": "txb2xExEZxktdpX2G", "cmd_c": true, "cmd_i": 10, "cmd_n": "prop11ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\talways ( all t:Train| some t.pos and historically t.pos in Entry)\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "r9zKHCwqzMTFxWXzm", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:55:49"} {"_id": "SvDT9BtnTboc8yzC9", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n \n all s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (Train->Track - pos) + pos = (Train->Track - pos) + pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "BSigNfQikbaZB4Swt", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 23:11:17"} {"_id": "u4Mua3McZbvkdwK7k", "cmd_i": 8, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways( all t:Train | some t.pos :> Exit implies eventually (no t.pos) )\n\talways( all t:Train | some t.pos :> (Track-Exit) implies eventually (t.pos in t.pos.prox) )\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways ( all s : Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green) )\n}\n\n\npred prop7 {\n\t\n\talways ( all t:Train | some t.pos :> Track implies eventually no t.pos :> Track )\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal not in Green) implies t.pos' = t.pos )\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\talways ( all t:Train | (no t.pos) until (t.pos :> Entry) )\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "v7NQv5RNxgHmYBfvC", "msg": "This must be a formula expression.\nInstead, it has the following possible type(s):\n{this/Track}", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-13 23:09:16"} {"_id": "hR6xXsXco5e9GdZxY", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t (all t:Train |some (t.pos.prox & Entry )implies eventually ( some t.pos and t.pos in Entry) )\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "d88yM8dekajcS4qJ3", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:31:33"} {"_id": "TLeF7Ed3AeaQcobAE", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n always(eventually Green = Signal)\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "qhtBkv9bdfagSMngP", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 22:32:39"} {"_id": "6RXj9PkoFGmAcx7gF", "cmd_c": true, "cmd_i": 14, "cmd_n": "prop15ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\teventually always (some t: Train| (no t.pos implies eventually some t.pos) or t.pos != t.pos')\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "5bDYReNbrHj89HKj6", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 19:45:02"} {"_id": "Ck7Hbowt7fdeumMTv", "cmd_i": 1, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\teventually Green&Signal\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "RP8kyn5Y4mvvET3XA", "msg": "This expression failed to be typechecked line 40, column 2, filename=/tmp/alloy_heredoc1170885025505931046.als", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-26 16:45:21"} {"_id": "2cJH6Jk3d4b9shaG4", "cmd_i": 13, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\talways ( all t:Train | (some t.pos and one t.pos.signal some (t.pos.signal :>Green) )implies (t.pos'.signal in Signal-Green) )\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "pMGhxMfSFnjnJNxao", "msg": "There are 1 possible tokens that can appear here:\n)", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-16 19:49:58"} {"_id": "9m5N5rh6Cv8dTEwHA", "cmd_c": true, "cmd_i": 14, "cmd_n": "prop15ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t : Track | always lone t.~pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n \t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\t\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n \n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\tall t : Train | eventually t.pos != t.pos'\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "HMzXzjTXrBkE3WmQy", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-17 00:49:21"} {"_id": "BM8QuypN4HqkBHzrf", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal - Green | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways(all t : Train | always (t.pos' = t.pos))\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\t\n \talways (all disj t1,t2 : Train | no (t1.pos & t2.pos)) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n\t\n \t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\tall s : Signal | always (no (s & Green) implies s' = Green else s' not in Green)\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "gscrAPDZop4rehAPJ", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:10:08"} {"_id": "pPkD3A69fj3uyu8He", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\tall t: Train | always t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tlet T=Train.pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "7BX7YAhPqRM3X2zrb", "msg": "There are 3 possible tokens that can appear here:\n, { |", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 22:50:21"} {"_id": "bFBNNucra6qhmd3SY", "cmd_i": 0, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tSignal in Red\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "FwCGymHmbqcziisH5", "msg": "The name \"Red\" cannot be found.", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-8 04:24:16"} {"_id": "WfRrH9iYJymWKTN4b", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n\t\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\t\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "MPQYSfh2TQex6RRsm", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-26 11:44:30"} {"_id": "76J8RfvJegEnMECsu", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n\t\n \talways( all t:Train, some tk:Track | t->tk in pos implies after t->tk in pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "24KE86Gz2BH29eLFN", "msg": "There are 8 possible tokens that can appear here:\nNAME disj exh part private seq this var", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-13 21:23:52"} {"_id": "ZYeQQikmHg5wpxBif", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n\t\n \n \n \t\n \t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways ( all s : Signal { s in Green => Green' = Green - s\n \t\t\t\t\t\t\t s not in Green => Green' = Green + s\n \t\t\t\t\t\t\t}\n \t\t\t)\n}\n\n\npred prop7 {\n\t\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "fFzFJSz5Ecbw9SwAu", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:20:59"} {"_id": "9yRsju72TtAMiB78g", "cmd_i": 4, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n \t\n \tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways (all t:Train |t.pos in Entry implies (t.pos'in (t.pos.^prox) or t.pos in Exit implies no t.pos')\n}\n\n\npred prop6 {\n\t\n\talways (all s:Signal | always (s in Green) implies eventually (s not in Green ) or \n\t\t\t \t\t\talways s not in Green implies eventually (s in Green) )\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "nC3eJeWLDkQQxFYLr", "msg": "There are 1 possible tokens that can appear here:\n)", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-13 21:44:42"} {"_id": "tymK8ppJZTn25foTD", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n always (all t:Train|(one t.pos:> Exit => no t.pos) or (one t.pos and some t.pos.prox => t.pos' in t.pos.prox ) )\n \n \n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "xit56QJ6DXr7qmEGC", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 20:36:44"} {"_id": "G9iJ5XvQ2C8XbsWw9", "cmd_c": true, "cmd_i": 10, "cmd_n": "prop11ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways ( all s : Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green) )\n}\n\n\npred prop7 {\n\t\n\talways ( all t:Train | some t.pos :> Track implies eventually no t.pos :> Track )\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal not in Green) implies t.pos' = t.pos )\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t\n\talways ( all j:Junction | lone ( (prox.j).signal & Green ) )\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "d3wWWarYFNADjebXs", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2021-1-13 23:56:05"} {"_id": "Ytunvd4fb8TNr4rJv", "cmd_c": true, "cmd_i": 7, "cmd_n": "prop8ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways( all t:Train | some t.pos :> Exit implies eventually (no t.pos) )\n\talways( all t:Train | some t.pos :> (Track-Exit) implies eventually (t.pos in t.pos.prox) )\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways ( all s : Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green) )\n}\n\n\npred prop7 {\n\t\n\talways ( all t:Train | some t.pos :> Track implies eventually no t.pos :> Track )\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all tk:Track | some tk.signal implies (tk.signal in Green) releases ( #(pos.tk') = #(pos.tk) ) ) \n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "YEDHYsNR2oypmMmnj", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:58:53"} {"_id": "gcDogHQvKwP3wHLau", "cmd_i": 5, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways (all t : Train | t.pos = t.pos')\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (all t : Track | lone pos.t)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways all s : Signal | \n \t\t \t\t(s in Green implies eventually s not in Green) or \n \t\t \t\t(s not in Green implies s eventually s in Green)\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "WvrHnDSPY9mrheRCf", "msg": "There are 1 possible tokens that can appear here:\n)", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 16:34:02"} {"_id": "QtLmKEMt33dWGxr8y", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\tall t: Train | always t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tlet T=[Train.pos]\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "pPkD3A69fj3uyu8He", "msg": "There are 37 possible tokens that can appear here:\n! # ( * @ Int NAME NUMBER STRING String Time ^ after all always before disj eventually fun historically iden int let lone no none once one pred seq set some sum this univ { ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 22:50:32"} {"_id": "LeBXjHYffqudNwJ8m", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": " Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green, Red in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t No cycles\n\tno t : Track | t in t.^prox\n\t Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\tall s : Signal | s in Green or s in Red\n\t All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t Intially all signals are red\n}\n\n\npred prop2 {\n\t Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t Trains never move\n\talways all t:Train | t.pos'=t.pos\n}\n\n\npred prop4 {\n\t There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos)\n}\n\n\npred prop5 {\n\t A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "7WSWohcFkFdHazb9T", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-8 04:50:53"} {"_id": "5wk87KRp2uZHvP7q9", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all t : Track | eventually t.signal in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n all t : Train | allways pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "5WdWqjfvr53wzWSYa", "msg": "The name \"allways\" cannot be found.", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-12-9 14:05:41"} {"_id": "KdGhEGWvEZaMAPxLt", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n \t\n \tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways (all t:Train |t.pos in Entry implies (t.pos'in (t.pos.^prox) ) or t.pos in Exit implies no t.pos')\n}\n\n\npred prop6 {\n\t\n\talways (all s:Signal | always (s in Green) implies eventually (s not in Green ) or \n\t\t\t \t\t\talways s not in Green implies eventually (s in Green) )\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "aDr7uFLFAcXBJA5SH", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 21:47:28"} {"_id": "w6mmjJnwzDhEbSRRY", "cmd_c": true, "cmd_i": 16, "cmd_n": "prop17ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)'=t.pos) \n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways (all t:pos.Track | (t.pos)' in t.pos + t.pos.prox or (t.pos in Exit and (t.pos)' in t.pos))\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\talways (all t:pos.Track | eventually no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\talways (all j:Junction | lone (prox.j).signal & Green)\n \talways (lone (prox.Junction).signal & Green)\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\talways (all t:Train | some t.pos implies once t.pos in Entry) \n}\n\n\npred prop12 {\n\t\n\t\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\t\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\talways (all t:pos.Track | eventually (t.pos)' != t.pos)\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:pos.Exit | (always some t.pos) since t.pos in Entry)\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\talways (some t:Train | before historically no Train.pos and eventually(t.pos in Exit and historically no Exit))\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "7afxh5pxQCCNTor2K", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-1 21:30:18"} {"_id": "MsMcYQHPpeN8NsCKM", "cmd_i": 13, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\talways ( all t:Train | some t.pos and some (t.pos.signal :>Green) implies (t.pos'.signal in Siganl-Green) \n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "4QRL3JXomAFHBxcrs", "msg": "There are 1 possible tokens that can appear here:\n)", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-16 19:49:07"} {"_id": "dWLZpcKSFW4JHvWR7", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green \n}\n\n\npred prop3 {\n\t// Trains never move\n always all t: Train, tk: Track | t->tk in pos implies always t->tk in pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "BdqEYQcB8nL6EFLrP", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 22:49:48"} {"_id": "ZXWn9bsAvbCc9ahBd", "cmd_i": 0, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tTrack.signal = Red\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "225Pge49NjPLDsAuh", "msg": "There are 38 possible tokens that can appear here:\n! # ( * @ Int NAME NUMBER STRING String Time ^ after all always before disj eventually fun historically iden int let lone no none once one pred seq set some sum this univ { } ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-11 17:03:17"} {"_id": "4xvgeGcrMRYpZ7TrD", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n }\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n}\n\n\npred prop3 {\n\t// Trains never move\n\tno prox and no Entry and no Exit\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\t\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "uHnLpPBn3FtuCB2mj", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-11 17:21:05"} {"_id": "XywCQYhHn7XgMtPXD", "cmd_i": 3, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n\t\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (all disj t1,t2:Train | some (t1.pos and t2.pos) implies t1.pos != t2.pos)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "zwgmKQQYks3wNLPLn", "msg": "This must be a formula expression.\nInstead, it has the following possible type(s):\n{this/Track}", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-26 11:47:57"} {"_id": "pM3gYJnEMpG63LPTg", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\tno Green\n}\n\n\npred prop2 {\n\teventually Signal in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "b7Tq9osWrgL4A4ryP", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-24 19:57:49"} {"_id": "S6jBqWKutg4jxCEge", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways all s: Signal | s in Green implies s' not in Green\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "42Z7XjoYfqswhjBtA", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 22:54:14"} {"_id": "2eg3sLFQrouzbpDbe", "cmd_i": 5, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\tall s : Signal | always s != s'\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "bwG6vgKiteAxwjEKg", "msg": "There are 38 possible tokens that can appear here:\n! # ( * @ Int NAME NUMBER STRING String Time ^ after all always before disj eventually fun historically iden int let lone no none once one pred seq set some sum this univ { } ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-12-2 23:13:22"} {"_id": "T4cXp9qn3DkTGG7XH", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\tall t:Train{\n \t\talways( t.pos in Exit implies eventually no t.pos)\n \t\talways( t.pos in Entry implies eventually t.pos in t.pos.prox)\n \t}\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways ( all s : Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green) )\n}\n\n\npred prop7 {\n\t\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "h5zhbQZjhasLBvZBL", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:26:52"} {"_id": "dWh6pz2Fhkp2d23Xx", "cmd_c": true, "cmd_i": 6, "cmd_n": "prop7ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\talways all t : Train | t.pos in Entry => eventually t.pos not in Entry\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\t\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Ya5caPxcBkTeNwbWC", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-8 01:28:00"} {"_id": "zJXuwQh3saHTdJtnk", "cmd_i": 4, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\tall t:Train {\n \tsome tk | t.pos {\n \t(tk in Exit) => t.pos' = t.pos - tk\n \t(tk not in Exit) => some tk2: tk.prox | t.pos' = tk2\n }\n \t} \n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "8kK9Nxtu7Csypg6Zh", "msg": "There are 38 possible tokens that can appear here:\n! # ( * @ Int NAME NUMBER STRING String Time ^ after all always before disj eventually fun historically iden int let lone no none once one pred seq set some sum this univ { } ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-13 21:57:54"} {"_id": "W2Lb3GbSmg5fPAjM5", "cmd_c": true, "cmd_i": 14, "cmd_n": "prop15ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)'=t.pos) \n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways (all t:pos.Track | (t.pos)' in t.pos + t.pos.prox or (t.pos in Exit and (t.pos)' in t.pos))\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\talways (all t:pos.Track | eventually no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\talways (all j:Junction | lone (prox.j).signal & Green)\n \talways (lone (prox.Junction).signal & Green)\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\talways (all t:Train | some t.pos implies once t.pos in Entry) \n}\n\n\npred prop12 {\n\t\n\t\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\t\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\talways eventually (some Train implies (Train.pos)' != Train.pos)\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "WfzCmS7qDvrJjsPMi", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-1 21:20:57"} {"_id": "EjecmtQpz7nMDriPw", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green \n}\n\n\npred prop3 {\n\t// Trains never move\n all t: Train, tk: Track | (t->tk in pos implies always t->tk in pos) and (t->tk not in pos implies always t->tk not in pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "N7ftNpYunKSa32bzw", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-25 23:07:11"} {"_id": "kNRYaxkuBFqPMz6Q2", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n }\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n}\n\n\npred prop3 {\n\t// Trains never move\n\t\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t1,t2 : Train | always ( no (t1.pos & t2.pos) and t1.prox not in t2.pos)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "j3D8FYWD9pgMNjKKr", "msg": "The join operation here always yields an empty set.\nLeft type = {this/Train}\nRight type = {this/Track->this/Track}", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-11 17:26:36"} {"_id": "M4qnFBBQQ6mSJpb9m", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n }\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall g : Track.signal | eventually g = Green \n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "X78bRqsMQDyKHLPtz", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-11 17:06:21"} {"_id": "Eon2PrHZE8XPitms5", "cmd_c": true, "cmd_i": 7, "cmd_n": "prop8ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t : Track | always lone t.~pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \talways all t : Train {\n \t\t(t.pos = Exit) implies no t.pos'\n \tor\n \t(one t.pos) implies (t.pos' in t.pos.prox)\n \t}\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n \talways all s : Signal {\n \t\t((s in Green) implies (eventually s not in Green))\n \tor\n \t((s not in Green) implies (eventually s in Green))\n \t}\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n \tall t : Train | (eventually always no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n \talways all t : ((Signal-Green).(~signal).(~pos)) | (t.pos' in t.pos.prox) implies (t.pos.signal in Green)\n\t\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n \n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n \talways all t : Train | (one t.pos and no t.pos') implies (always no t.pos')\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always all t : Train | some t.pos implies eventually t.pos != t.pos'\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "7JPFFNt7KiBoatARj", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-7 11:04:33"} {"_id": "oqCnumi9AJxFBk7CX", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n (all t:Train| once(no t.pos and after one t.pos:>Entry) )\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "ignNfNEE2FRjnoHvp", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 20:25:51"} {"_id": "AsLASYqFq3tZestST", "cmd_c": true, "cmd_i": 10, "cmd_n": "prop11ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways ( all s : Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green) )\n}\n\n\npred prop7 {\n\t\n\talways ( all t:Train | some t.pos :> Track implies eventually no t.pos :> Track )\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal not in Green) implies t.pos' = t.pos )\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t\n\talways ( all j:Junction | lone ( (prox.j).signal & Green ) )\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\talways ( all t:Train | some t.pos :> Track implies historically ( t.pos in Entry) )\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "cPkszC3qW7JKMBMTJ", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:52:28"} {"_id": "cP7NopECCfynS54iw", "cmd_i": 7, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t : Track | always lone t.~pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \talways all t : Train {\n \t\t(t.pos = Exit) implies no t.pos'\n \tor\n \t(one t.pos) implies (t.pos' in t.pos.prox)\n \t}\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n \talways all s : Signal {\n \t\t((s in Green) implies (eventually s not in Green))\n \tor\n \t((s not in Green) implies (eventually s in Green))\n \t}\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n \tall t : Train | (eventually always no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n \talways all t : ((Signal-Green).(~signal).(~pos)) | (t.pos' in t.pos.prox) after (t.pos.signal in Green)\n\t\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n \n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "m8poMmu2CCJuHP2dX", "msg": "The name \"t\" cannot be found.", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-7 10:49:57"} {"_id": "iEqPmfLjdWmgpkPk8", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n \t\n \tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t\n\talways (all s:Signal | always (s in Green) implies eventually (s not in Green ) or \n\t\t\t \t\t\talways s not in Green implies eventually (s in Green) )\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "hZbWQyTNN5WSK4BLm", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2021-1-13 21:22:30"} {"_id": "8ucmjKZdhemwxTZaf", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green \n}\n\n\npred prop3 {\n\t// Trains never move\n always all t: Train, tk: Track | t->tk in pos implies always t->tk in pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "GogsDE5C8ifLhdgxb", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 22:56:18"} {"_id": "YwBr5K9e3sqJ8YtLu", "cmd_c": true, "cmd_i": 6, "cmd_n": "prop7ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t : Track | always lone t.~pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \talways all t : Train {\n \t\t(t.pos = Exit) implies no t.pos'\n \tor\n \t(one t.pos) implies (t.pos' in t.pos.prox)\n \t}\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n \talways ((Signal-Green = Green') and (Green = Signal'-Green'))\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n \tall t : Train | one t.pos implies (eventually always no t.pos')\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\t\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n \n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "hGWvxxBgsTyXLGsiZ", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-7 10:40:08"} {"_id": "uogwjypYRrzTSe4eb", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n eventually some Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "zLjt7acP6abjSMs5m", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 22:26:00"} {"_id": "5DABu7gEFeYvv8cva", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t: Train | some tr: Track | t in pos.tr implies t' in pos.tr\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "4nsnayKaTKYhmfE3R", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 22:30:54"} {"_id": "C2GMSMmrD2tWcjLFS", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green \n}\n\n\npred prop3 {\n\t// Trains never move\n \n \n always pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n always pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n always all t: Train | no t.pos & Exit implies t.pos' in t.pos + t.pos.prox\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "CuvMQbLGBysQmmujw", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-26 08:41:52"} {"_id": "gkdXqsAedwKfwEYoW", "cmd_i": 7, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\talways ( all t:Train | eventually \n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "z57mYJcWQmau9d96G", "msg": "There are 37 possible tokens that can appear here:\n! # ( * @ Int NAME NUMBER STRING String Time ^ after all always before disj eventually fun historically iden int let lone no none once one pred seq set some sum this univ { ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-13 23:08:49"} {"_id": "iJTGteFP8KpP4nDFf", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n no Green\n\t// Intially all signals are red\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s : Signal | eventually s in Green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "EgTcSqv3Q5BD9Rm9W", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-12-2 22:37:33"} {"_id": "vmaGBN9TW2TWFBDXw", "cmd_i": 13, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\talways ( all t:Train | (some t.pos and some (t.pos.signal :>Green) )implies (t.pos'.signal in Siganl-Green) )\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "MsMcYQHPpeN8NsCKM", "msg": "The name \"Siganl\" cannot be found.", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-16 19:49:19"} {"_id": "w2bzeCeiAztymnAqn", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways all t : Train | t.pos' in t.pos.prox or t.pos in Exit\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways all s : Track.signal | s in Green => s not in Green' or s not in Green' => s in Green\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\t\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "3fBioBvfkvRPXyema", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-8 01:38:08"} {"_id": "KWqj98qsbtuoXGH5a", "cmd_c": true, "cmd_i": 13, "cmd_n": "prop14ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\talways ( all t:Train | ( one (t.pos.signal :>Green) )implies after (t.pos.signal in Signal-Green) )\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "vGQFaMi6ZL2bpxv6d", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 19:54:36"} {"_id": "X8SvhF2H2ihkAQbvT", "cmd_c": true, "cmd_i": 16, "cmd_n": "prop17ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n \n \n\n \n \n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \t\tone Train.pos:>Exit since one pos\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "6RXWL5zEjiMrjsJjj", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 20:48:59"} {"_id": "cbZqSJWWoKBYhdZ9k", "cmd_i": 4, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n always (all t:Train|(one t.pos:> Exit => no t.pos) or (one t.pos => t.pos' in t.pos.prox ) \n \n \n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "5fH9iAEqfcEb5mPWo", "msg": "There are 1 possible tokens that can appear here:\n)", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-16 20:36:21"} {"_id": "bwjx7xAdXG9c9zDnZ", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\talways (all t:Entry | Green not in t.signal)\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "xNPKutuphbHiqrHQW", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-26 16:40:05"} {"_id": "899hZ2wwtHGChMHxG", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\t(some s:Signal | s in Green) since (historically (all s:Signal | s not in Green)) \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t (all s:Signal | eventually s in Green)\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways( all t:Train | one t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "P4ytnCsDz4ZGi4b7T", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-28 16:01:45"} {"_id": "P8h5zQQX4fz9Npg2B", "cmd_c": true, "cmd_i": 6, "cmd_n": "prop7ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t : Track | always lone t.~pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \talways all t : Train {\n \t\t(t.pos = Exit) implies no t.pos'\n \tor\n \t(one t.pos) implies (t.pos' in t.pos.prox)\n \t}\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n \talways all s : Signal {\n \t\t((s in Green) implies (eventually s not in Green))\n \tor\n \t((s not in Green) implies (eventually s in Green))\n \t}\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n \tall t : Train | (eventually always no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n \talways all t : ((Signal-Green).(~signal).(~pos)) | (t.pos' in t.pos.prox) implies (t.pos.signal in Green)\n\t\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n \n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n \talways all t : Train | (one t.pos and no t.pos') implies (always no t.pos')\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always all t : Train | some t.pos implies eventually t.pos != t.pos'\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Eon2PrHZE8XPitms5", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-7 11:04:37"} {"_id": "wjGpbG84kfd3sgSBQ", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\talways (all t:Track | Green not in t.signal until Green in t.signal)\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "66puv5rTezqcecams", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-28 15:45:24"} {"_id": "ktpc4AxRbFda76sEm", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "muTj8adK57JrhacdG", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-25 16:05:21"} {"_id": "dsSSgZveiuyar8fg8", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green \n}\n\n\npred prop3 {\n\t// Trains never move\n always all t: Train, tk: Track | t->tk in pos implies always t->tk in pos and t->tk not in pos implies always t->tk not in pos \n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "6Gp4JDyXSFJgqNJTk", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 22:52:27"} {"_id": "uFKnXtHst7Hud6G2G", "cmd_c": true, "cmd_i": 12, "cmd_n": "prop13ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\t ( all t:Train | no t.pos implies always (no t.pos))\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "XXRwcMXnKHjbBrKEb", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 19:39:20"} {"_id": "Tfk5wzPMoGaqNdmFC", "cmd_c": true, "cmd_i": 7, "cmd_n": "prop8ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways( all t:Train | some t.pos :> Exit implies eventually (no t.pos) )\n\talways( all t:Train | some t.pos :> (Track-Exit) implies eventually (t.pos in t.pos.prox) )\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways ( all s : Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green) )\n}\n\n\npred prop7 {\n\t\n\talways ( all t:Train | some t.pos :> Track implies eventually no t.pos :> Track )\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all tk:Track | some tk.signal and (tk.signal in Green) implies ( #(pos.tk') = #(pos.tk) ) ) \n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "98AmQjMYQpv82X7RS", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:00:02"} {"_id": "6MpZmerdbumpXZCpq", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n \t\n \tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways (all t:Train |t.pos in Entry implies (t.pos'in (t.pos.^prox) ) or t.pos in Exit implies no t.pos')\n}\n\n\npred prop6 {\n\t\n\talways (all s:Signal | always (s in Green) implies eventually (s not in Green ) or \n\t\t\t \t\t\talways s not in Green implies eventually (s in Green) )\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "KdGhEGWvEZaMAPxLt", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 21:47:34"} {"_id": "3APrY8ixkoPhEYjAT", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green \n}\n\n\npred prop3 {\n\t// Trains never move\n \n always(Train->Track in pos implies always Train->Track in pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "un9ESmdygH482iHxD", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 23:04:27"} {"_id": "AdwPAKgDxr7zdb3B3", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\tno Train.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "csS2ME8x6T3PmZPCL", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-5 00:08:10"} {"_id": "AxxguuqojH2SbicrZ", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t : Track | always lone t.~pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways all t : Train {\n \t((t.pos = Exit) implies (no t.pos'))\n \t\t or\n (t.pos' in t.pos.prox)\n \t}\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\tall t : Track | always ((some t.signal) implies (t.signal != t.signal'))\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "KbgMNzmNJParn78oZ", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-17 00:36:14"} {"_id": "E776zvvfhNjZd5eC7", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "FwCGymHmbqcziisH5", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-24 22:57:01"} {"_id": "5GRn83akYGHg3isKz", "cmd_i": 5, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways (all t : Train | t.pos = t.pos')\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (all t : Track | lone pos.t)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways (all s : Signal | (s in Green implies eventually s not in Green) or (s not in Green implies s eventually s in Green))\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "cAKbnoZ6NmEZDwbyh", "msg": "There are 1 possible tokens that can appear here:\n)", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 16:32:35"} {"_id": "JzmgF5eH6TvnN4gfd", "cmd_c": true, "cmd_i": 14, "cmd_n": "prop15ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t : Track | always lone t.~pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n \t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\t\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n \n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\tall t : Train | (some t.pos) implies (eventually t.pos != t.pos')\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "9m5N5rh6Cv8dTEwHA", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-17 00:49:51"} {"_id": "ugaTrEcokgTYR79kB", "cmd_c": true, "cmd_i": 14, "cmd_n": "prop15ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\t always eventually some pos and (pos != pos')\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "GLWN8HhhP8AcBg6Lc", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 19:47:35"} {"_id": "X3ZzWDsLN7pnHzT56", "cmd_c": true, "cmd_i": 10, "cmd_n": "prop11ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (pos.(~pos) in iden)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n \talways (all s:Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green))\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\talways (all t:pos.Track | eventually no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \teventually (all t:Train | t.pos in Entry)\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\talways (all j:Junction | lone ((prox.j).signal&Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\talways (all t:pos.Track | once t.pos in Entry)\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n \t\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\t\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\t\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\t\n}", "derivationOf": "GFWPYCoep93qiF8RT", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-29 14:59:08"} {"_id": "h4JpfXL6DSCZc8ioc", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways( all t:Train | some t.pos :> Exit implies eventually (no t.pos) )\n\talways( all t:Train | some t.pos :> (Track-Exit) implies eventually (t.pos in t.pos.prox) )\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways ( all s : Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green) )\n}\n\n\npred prop7 {\n\t\n\talways ( all t:Train | some t.pos :> Track implies eventually no t.pos :> Track )\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal not in Green) implies t.pos' = t.pos )\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\talways ( all t:Train | (no t.pos) triggered (eventually t.pos in Entry) )\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "ktDJL66BPK7H7zni5", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:12:03"} {"_id": "odsNTKD4XhMc6JiGG", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t : Track | always lone t.~pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways all t : Train {\n \t((t.pos = Exit) implies (no t.pos'))\n \t\t or\n (t.pos' in t.pos.prox)\n \t}\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\tall t : Track | always ((some t.signal) implies (t.signal != t.signal'))\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Jy7HyndXDqp94aHhw", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-17 00:32:37"} {"_id": "8328DHReHSmEiXRQR", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\talways ( all t:Train | eventually (t.pos in Entry))\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "HtdWMmAeN25XxLF5d", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:14:11"} {"_id": "d2WFuAYpx23dxQrgC", "cmd_c": true, "cmd_i": 13, "cmd_n": "prop14ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\talways ( all t:Train | (some t.pos and one (t.pos.signal :>Green) and no t.pos' )implies (t.pos.signal in Signal-Green) )\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "LTcipNGTnDR2Sjp5N", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 19:53:29"} {"_id": "nqXby8Mac5LoZtE56", "cmd_c": true, "cmd_i": 16, "cmd_n": "prop17ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n \n \n\n \n \n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \t\talways (some Train => (one Train.pos:>Exit since one pos))\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "JPxJwGnvvqHLkEXuN", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 20:50:03"} {"_id": "K6zFFDjWvG2Mcgr8W", "cmd_c": true, "cmd_i": 6, "cmd_n": "prop7ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t : Track | always lone t.~pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \talways all t : Train {\n \t\t(t.pos = Exit) implies no t.pos'\n \tor\n \t(one t.pos) implies (t.pos' in t.pos.prox)\n \t}\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n \talways ((Signal-Green = Green') and (Green = Signal'-Green'))\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n \tall t : Train | (some t.pos) implies (eventually no t.pos')\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\t\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n \n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "66uH8rfaCJbERe7pw", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-7 10:36:36"} {"_id": "SDKeWLKsWCJ9heoXk", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n }\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n}\n\n\npred prop3 {\n\t// Trains never move\n\t\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t : Train | always (lone pos.t)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "NyaDseDsTK9etrGsH", "msg": "The join operation here always yields an empty set.\nLeft type = {this/Train->this/Track}\nRight type = {this/Train}", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-11 17:23:27"} {"_id": "BR7gNNH5fJM7PFu7p", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\t (all f:Track | f.signal = Green) until (some t:Track | Green not in t.signal)\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "udCZqLugmvByHzsy6", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-28 15:50:33"} {"_id": "WeEGLxrevpKie8Rkb", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green \n}\n\n\npred prop3 {\n\t// Trains never move\n \n \n always pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n always pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n always all t: Train | t.pos not in Exit implies t.pos' in t.pos + t.pos.prox\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "3r6mBBJnNqtz5Sxmm", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 23:26:54"} {"_id": "3Bsge8ya3K3B9oBzz", "cmd_i": 3, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal - Green | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways(all t : Train | always (t.pos' = t.pos))\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t : Train, p : t.pos | pos.~p in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "jGQxSzaNfW4SMiapj", "msg": "~ can be used only with a binary relation.\nInstead, its possible type(s) are:\n{this/Track}", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-13 21:41:26"} {"_id": "kT9bqFLLfYKjFdMet", "cmd_c": true, "cmd_i": 7, "cmd_n": "prop8ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "HkERgppDXJdm33xxK", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:09:05"} {"_id": "CNPCDh7AfJ73yxvkB", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies no t.pos')\n always (t.pos in Entry implies eventually t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways (all t:Train |(t.pos.signal) in (Signal-Green) implies (some t.pos') and ((t.pos.signal) in Green))\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "k558JgtJjGTbk6t8W", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:34:23"} {"_id": "ugD3NcrgBpY8F2fs8", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \ttrains = {all t: Train | t.pos}\n\talways all tt: Train | trains = tt.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\t\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "QtLmKEMt33dWGxr8y", "msg": "The name \"trains\" cannot be found.", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 22:59:13"} {"_id": "cAKbnoZ6NmEZDwbyh", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways (all t : Train | t.pos = t.pos')\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (all t : Track | lone pos.t)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways Green' = Signal - Green\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "xo2mkRRxFA62zsRvq", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 16:26:51"} {"_id": "XXRwcMXnKHjbBrKEb", "cmd_c": true, "cmd_i": 12, "cmd_n": "prop13ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\talways ( all t:Train | no t.pos implies always (no t.pos))\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "typX6GN5SWYX5h42e", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 19:39:03"} {"_id": "6Gp4JDyXSFJgqNJTk", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green \n}\n\n\npred prop3 {\n\t// Trains never move\n always all t: Train, tk: Track | t->tk in pos or t->tk not in pos implies always t->tk in pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "QPficJ3hxyL4e4eii", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 22:52:08"} {"_id": "K49LPBuHjmSFiyXWp", "cmd_c": true, "cmd_i": 6, "cmd_n": "prop7ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)'=t.pos) \n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways (all t:pos.Track | (t.pos)' in t.pos + t.pos.prox or (t.pos in Exit and (t.pos)' in t.pos))\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\talways (all t:pos.Train | eventually no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "qT5Proi28HkXL3ZGs", "msg": "The join operation here always yields an empty set.\nLeft type = {this/Train->this/Track}\nRight type = {this/Train}", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-1 20:54:06"} {"_id": "h7iAevtunSgoefFXL", "cmd_i": 8, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n (all t:Train| (no t.pos after ( one t.pos':>Entry)) )\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "akr6oaAQ7DobhSJjD", "msg": "There are 1 possible tokens that can appear here:\n)", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-16 20:32:10"} {"_id": "JgK9Eu5fJHvC2rYWM", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal - Green | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways(all t : Train | always (t.pos' = t.pos))\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Hcj8dfq4M3YegXLic", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2021-1-13 21:37:22"} {"_id": "4PJHC8s3eDWFW7AmN", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways (Train.pos)' = Train.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "F83sy75kuFyAqi6u2", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-1 20:48:40"} {"_id": "ujW7JrCoP2fJq9t9z", "cmd_c": true, "cmd_i": 10, "cmd_n": "prop11ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways ( all s : Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green) )\n}\n\n\npred prop7 {\n\t\n\talways ( all t:Train | some t.pos :> Track implies eventually no t.pos :> Track )\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal not in Green) implies t.pos' = t.pos )\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t\n\talways ( all j:Junction | lone ( (prox.j).signal & Green ) )\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\talways ( all t:Train | some t.pos implies historically some t.pos :> Entry)\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "fJdBs9y9QeEeBQTvd", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:53:45"} {"_id": "Kk3juzc2jBcnrcWFj", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\nvar sig Red in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tTrack.signal = Red\n }\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "RPbzcHq2Cb5o6HXL2", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-11 17:04:40"} {"_id": "bf5k3EnSFZQkihRTj", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal - Green | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways(all t : Train | always (t.pos' = t.pos))\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\t\n \talways (all disj t1,t2 : Train | no (t1.pos & t2.pos)) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n\tall t : Train | t.pos' != t.pos and no (t.pos & Exit) implies (t.pos' in t.pos.prox)\n \tall t : Train | t.pos' != t.pos implies Train' = Train - t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "kZt9niN8mptzNBoSB", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:06:37"} {"_id": "MexrMnstwRirCaBxD", "cmd_i": 7, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways (all t:Train | (some t.pos.signal and some t.pos.prox) and ( (t.pos.signal) in (Signal-Green) implies ((t.pos in t.pos.prox) since (t.pos.signal in Green) ))\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "K2WCivB6GJNBQvLtY", "msg": "There are 1 possible tokens that can appear here:\n)", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-13 22:59:31"} {"_id": "xMJoP6pxDWBmhCKjh", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "mvHKegRQRf7K9NzMX", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-25 22:30:41"} {"_id": "d6Rvu3QL3AwJNnZ36", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n\t\n \n \n \t\n \t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways ( all s : Signal | (s in Green implies s' not in Green) and (s not in Green implies s' in Green) )\n}\n\n\npred prop7 {\n\t\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "CzkFkrfKeiSYeFCvH", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:18:33"} {"_id": "5aDgp4AdhdXNyJhcv", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "FwCGymHmbqcziisH5", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2021-1-13 21:16:19"} {"_id": "zTFu5yiKqwL79kLsN", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal - Green | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways(all t : Train | always (t.pos' = t.pos))\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\t\n \tall t1,t2 : Train | no (t1.pos & t2.pos) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "GPiARc3AjsLSPyxB8", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 21:44:46"} {"_id": "mv6EtA6mkL4H6pY8R", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\tTrain.pos' =Train.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "st4d7iqBpHcu4XDnG", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 23:01:27"} {"_id": "7LpxqXwa2SGaLB9rd", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t : Track | always lone t.~pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n \t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\t\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n \n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "8sQ6E4C5gGhgkG2X8", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2021-1-7 10:10:46"} {"_id": "z2qWsuETaQsj6Bpv2", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways all s : Signal | always s' != s\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "jAfcwyoGJuuBgGnZc", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 23:09:38"} {"_id": "s3oeR6zLJpys6GcLc", "cmd_i": 3, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t = Track | lone (t.~pos)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "F6DYdzmW45oMhxgTJ", "msg": "The \"all x\" construct is no longer supported. If you know the range of possible values of x, consider rewriting it as \"x == set_of_all_possible_values\".", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-14 01:22:59"} {"_id": "j2HEH2W6uYZvb7FM7", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n always one pos.Track\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "QTbpR62Af9hDgoGSi", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 22:41:16"} {"_id": "xQ7ScDyCesEk4Peiz", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways( all t:Train | some t.pos :> Exit implies eventually (no t.pos) )\n\talways( all t:Train | some t.pos :> (Track-Exit) implies eventually (t.pos in t.pos.prox) )\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways ( all s : Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green) )\n}\n\n\npred prop7 {\n\t\n\talways ( all t:Train | some t.pos :> Track implies eventually no t.pos :> Track )\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal not in Green) implies t.pos' = t.pos )\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\talways ( all t:Train | some Track implies eventually (some t.pos :> Entry) )\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "zxifnW3mHnnvFrwxw", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:21:13"} {"_id": "CaCTAnpbLXHc96Kia", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\teventually (all t:Track | Green in t.signal)\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "M8pf3PawEja5qifT7", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-26 16:44:17"} {"_id": "EzAjnds9sMvTyXecT", "cmd_c": true, "cmd_i": 7, "cmd_n": "prop8ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways (all t:Train | (some t.pos.prox) and ( (t.pos.signal) in (Signal-Green) implies before ((t.pos in t.pos.prox) since (t.pos.signal in Green) )))\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "89TJcnJ4ef3sudsxM", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:06:21"} {"_id": "CPRbeqYYqqxGnbfiS", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways all s : Signal | always eventually s' != s\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "wuCDCiTwZyhEezyC4", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 23:09:56"} {"_id": "KrzvSrC9p9wEB6yJK", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways( all t:Train | some t.pos :> Exit implies eventually (no t.pos) )\n\talways( all t:Train | some t.pos :> (Track-Exit) implies eventually (t.pos in t.pos.prox) )\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways ( all s : Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green) )\n}\n\n\npred prop7 {\n\t\n\talways ( all t:Train | some t.pos :> Track implies eventually no t.pos :> Track )\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal not in Green) implies t.pos' = t.pos )\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\talways ( all t:Train | some Entry implies eventually (no t.pos until t.pos in Entry))\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "hF5vpem84dxwo2y2o", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:16:13"} {"_id": "Fi77xNCE6MAPX5roq", "cmd_i": 10, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\talways ( all t:Train| some t.pos implies once some t.pos in Entry) \n \n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "839dtQiJdjWA3aTDc", "msg": "This must be a set or relation.\nInstead, it has the following possible type(s):\n{PrimitiveBoolean}", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-13 23:57:39"} {"_id": "sp45rNqF9y6T9R68v", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t (all t:Train | eventually ( some t.pos and t.pos in Entry) )\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "mqvGKzy8SXQq8sEPp", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:30:26"} {"_id": "Wbwgwm5Hiej86HvRX", "cmd_i": 8, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \teventually Trains.pos in Entry\n\t\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "fiBDesjeTNhqMztzL", "msg": "The name \"Trains\" cannot be found.", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-13 23:18:32"} {"_id": "fMyM6Qh39kXdQZrY4", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "FwCGymHmbqcziisH5", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-25 16:00:15"} {"_id": "hMQuNtcnia3kCCeAR", "cmd_c": true, "cmd_i": 9, "cmd_n": "prop10ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)'=t.pos) \n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways (all t:pos.Track | (t.pos)' in t.pos + t.pos.prox or (t.pos in Exit and (t.pos)' in t.pos))\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\talways (all t:pos.Track | eventually no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\talways (all j:Junction | lone (prox.Junction).signal & Green)\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "5x5FkhrdYKn7gasFT", "msg": "This variable is unused.", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-12-1 21:06:19"} {"_id": "h5bBYzpvhzzWH72pG", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways Train.pos' = Train.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "yNeYKMSYpZrNuZTXE", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 22:52:02"} {"_id": "NfW8cDFbCdb26QFCG", "cmd_i": 13, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\talways ( all t:Train | eventually (some t.pos and one (t.pos.signal :>Green) and t.pos'!=pos ) implies (t.pos.signal in Signal-Green) )\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "qyFtdNd9ecXqTpgav", "msg": "!= can be used only between 2 expressions of the same arity, or between 2 integer expressions.\nLeft type = {this/Track}\nRight type = {this/Train->this/Track}", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-16 19:59:56"} {"_id": "zxifnW3mHnnvFrwxw", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways( all t:Train | some t.pos :> Exit implies eventually (no t.pos) )\n\talways( all t:Train | some t.pos :> (Track-Exit) implies eventually (t.pos in t.pos.prox) )\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways ( all s : Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green) )\n}\n\n\npred prop7 {\n\t\n\talways ( all t:Train | some t.pos :> Track implies eventually no t.pos :> Track )\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal not in Green) implies t.pos' = t.pos )\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\talways ( all t:Train | some Track implies eventually t.pos in Entry )\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "jvfZ9kFpF6JBbZYC4", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:20:30"} {"_id": "xTFMJE5yRyRp9sadk", "cmd_i": 4, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal - Green | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways(all t : Train | always (t.pos' = t.pos))\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\t\n \talways (all disj t1,t2 : Train | no (t1.pos & t2.pos)) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\tall t : Train | some (t.pos & Exit) implies (Train' = (Train - t) and no t.pos') else( t.pos' & t.pos.prox)\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "jfY7w5oQXPKEa9PyD", "msg": "The then-clause and the else-clause must match.\nThe then-clause has type: {PrimitiveBoolean}\nand the else-clause has type: {this/Track}", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-13 21:54:30"} {"_id": "8AwMPktgZWFhQvL4m", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "AcqvSP2ng7cR58bJ6", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-25 22:26:28"} {"_id": "k3MWgFeZfCfT9NbKK", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green \n}\n\n\npred prop3 {\n\t// Trains never move\n always all t: Train, tk: Track | t->tk in pos implies always t->tk in pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "uWJfKsXp3u24qNYXb", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 22:46:31"} {"_id": "R4XuuLRizJJZD2tSk", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t\n\talways (all s:Signal | always (s in Green) implies eventually (s not in Green ) or \n\t\t\t \t\t\talways s not in Green implies eventually (s in Green) )\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "w8Z5RTuvx37XYQdB9", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 10:33:24"} {"_id": "45yKmhyZi98RQkJHo", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways some s : Signal | always s' != s\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "p7d2nwfKzPK5wWBwT", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 23:09:26"} {"_id": "rQfguYSfnG77HbvSr", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \tall t: Train tt: Track | t->tt in pos implies always t->tt in pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\t\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "x6DdzCStZ73SduoCY", "msg": "There are 3 possible tokens that can appear here:\n, { |", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 23:10:46"} {"_id": "2BaxL5ecmBNfq6BBd", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t\n\talways (all s:Signal | always (s in Green) implies eventually (s not in Green ) or \n\t\t\t \t\t\talways s not in Green implies eventually (s in Green) )\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "X993o42sk5pRKczRT", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-26 11:52:19"} {"_id": "K3kqsbyRZGhMy4RGN", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways(\n \tall t:Train{\n \t\tno t.pos :> Exit => eventually(t.pos in t.pos.prox)\n \tsome t.pos :> Exit => eventually(no t.pos)\n \t} \n )\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways ( all s : Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green) )\n}\n\n\npred prop7 {\n\t\n\talways ( all t:Train | some t.pos :> Track implies eventually no t.pos :> Track )\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "oFCFB8k8e5EzFnGNB", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:36:20"} {"_id": "bjYkrRNbHzu2MkrxD", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways all s : Signal | always (s in Green implies s' not in Green)\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "PFw9qgdM8AR4ACKP7", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 23:10:41"} {"_id": "5QKz22FTsHieNCKrH", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\t\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "DpawyvrFMMuEzeYs3", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2021-1-14 01:22:49"} {"_id": "Fsbd8kiju8kH6xDdB", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t\n\talways (all s:Signal | always (s in Green) implies eventually (s not in Green ) or \n\t\t\t \t\t\talways s not in Green implies eventually (s in Green) )\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "R4XuuLRizJJZD2tSk", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-12-2 10:33:30"} {"_id": "myeRetJsFySmHyeYo", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n \n all s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \t\n \talways pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "tg69cJ5y9SgkMkJkZ", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-25 23:21:05"} {"_id": "3j2uoQGg9whgH3XWT", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "NZmqaSzjDHnPYB5pK", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-8 04:25:23"} {"_id": "aB2NLTmBSDS9tWGMp", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways all s : Signal | always (s in Green implies s' not in Green) or \n always (s not in Green implies s' in Green)\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "bjYkrRNbHzu2MkrxD", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 23:11:10"} {"_id": "RB64xqjjdfmfEEMhA", "cmd_c": true, "cmd_i": 6, "cmd_n": "prop7ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies no t.pos')\n always (t.pos in Track implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways (all t:Train |(t.pos.signal) in (Signal-Green) implies (some t.pos') and ((t.pos.signal) in Green))\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "vvtwsLy4xhshfDunX", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2021-1-13 22:37:41"} {"_id": "Re9wKoYzZSLobs2wQ", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t : Track | always lone t.~pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \talways all t : Train {\n \t\t(t.pos = Exit) implies no t.pos'\n \tor\n \t(one t.pos) implies (t.pos' in t.pos.prox)\n \t}\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n \talways all s : Signal {\n \t\t((s in Green) implies (eventually s not in Green))\n \tor\n \t((s not in Green) implies (eventually s in Green))\n \t}\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n \tall t : Train | (eventually always no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n \talways all t : ((Signal-Green).(~signal).(~pos)) | (t.pos' in t.pos.prox) implies (t.pos.signal in Green)\n\t\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n \n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n \talways all t : Train | (one t.pos and no t.pos') implies (always no t.pos')\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always all t : Train | some t.pos implies eventually t.pos != t.pos'\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "zTHwM7WBxGLu4KyTv", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-7 11:04:42"} {"_id": "4rvzwoeieEb6orma9", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n }\n\npred prop2 {\n\t// Every signal will eventually become green\n\t all s : Signal | eventually s=Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "GmvX3sG6mLk82i95G", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-11 17:11:47"} {"_id": "p776tFSBMPPgrvdKK", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green \n}\n\n\npred prop3 {\n\t// Trains never move\n \n \n always prox' = prox\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n always prox.~prox in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "ZPPhK6cWh8oYcQjfj", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 23:17:29"} {"_id": "KKriWhMCsYjTwXeRz", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n (all t:Train| eventually ( no t.pos and after ( one t.pos:>Entry)) )\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "KBiK3jjnqJu5QoMZc", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 20:30:01"} {"_id": "zxvW2dEFvxEaMTWKS", "cmd_c": true, "cmd_i": 16, "cmd_n": "prop17ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n \n \n\n \n \n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \t\tsome Train => (one Train.pos:>Exit since one pos)\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "nqXby8Mac5LoZtE56", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 20:50:10"} {"_id": "kiML2bvqv4E9vFDEA", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\tall t : Train | always t.pos in Entry or always t.pos in Exit\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways all t : Train, p : t.pos | (t.pos)' in p.prox || Exit = p.prox\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\t\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "yT4iE3jWrGtqwJb26", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-8 01:11:28"} {"_id": "YKCHzjNhrJFEWxvK7", "cmd_c": true, "cmd_i": 12, "cmd_n": "prop13ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t : Track | always lone t.~pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \talways all t : Train {\n \t\t(t.pos = Exit) implies no t.pos'\n \tor\n \t(one t.pos) implies (t.pos' in t.pos.prox)\n \t}\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n \talways all s : Signal {\n \t\t((s in Green) implies (eventually s not in Green))\n \tor\n \t((s not in Green) implies (eventually s in Green))\n \t}\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n \tall t : Train | (eventually always no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n \talways all t : ((Signal-Green).(~signal).(~pos)) | (t.pos' in t.pos.prox) implies (t.pos.signal in Green)\n\t\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n \n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n \talways all t : Train | (one t.pos and no t.pos') implies (always no t.pos')\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always all t : Train | some t.pos implies eventually t.pos != t.pos'\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "mJkh2ByLgRJBb93tq", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2021-1-7 11:01:54"} {"_id": "g4rHFSXtHJcC5po5Q", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n \n all s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n all t : Track | always t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "xJ7B3QtfioYErkBBY", "msg": "This expression failed to be typechecked line 47, column 19, filename=/tmp/alloy_heredoc5834383375351792638.als", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 22:37:28"} {"_id": "AJWzwCzFiWsqu333o", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\talways ( all t:Train |(no prox.t) and eventually (t.pos in Entry) )\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "y3C6f3SDrDcyXfm8D", "msg": "The join operation here always yields an empty set.\nLeft type = {this/Track->this/Track}\nRight type = {this/Train}", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:16:23"} {"_id": "zsAg3BijAPEm9GJbu", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green \n}\n\n\npred prop3 {\n\t// Trains never move\n \n \n always pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n always pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n always all t: Train | no t.pos & Exit implies t.pos' in t.pos + t.pos.prox\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "FwCGymHmbqcziisH5", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-26 08:40:55"} {"_id": "7DaAQaLqcHrCjvYW2", "cmd_i": 0, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n\t\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (all t1,t2:Train | t1.pos not t2.pos)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "WfRrH9iYJymWKTN4b", "msg": "There are 1 possible tokens that can appear here:\n)", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-26 11:46:52"} {"_id": "ktarPcc37MrTky56p", "cmd_c": true, "cmd_i": 13, "cmd_n": "prop14ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\talways ( all t:Train | (some t.pos and one (t.pos.signal :>Green) and no t.pos' )implies (t.pos'.signal in Signal-Green) )\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "d2WFuAYpx23dxQrgC", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 19:53:33"} {"_id": "aAt935qmycgW7wg6v", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "RYT2hNE2ydM3MpcDm", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-25 22:58:32"} {"_id": "NvX4TuJWZeqTgJ7uZ", "cmd_i": 16, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \t\t ( one pos => Train.pos:>Exit )\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "vnTCNneyQfRHQw63D", "msg": "This must be a formula expression.\nInstead, it has the following possible type(s):\n{this/Track}", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-16 20:15:43"} {"_id": "Rqb7doDRPdjXYLhhd", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green \n}\n\n\npred prop3 {\n\t// Trains never move\n \n all t: Train, tk: Track | (t->tk in pos implies always t->tk in pos) and (t->tk not in pos implies always t->tk not in pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n always prox.~prox in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "jPBbcYgrLxTaTgiJa", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 23:14:38"} {"_id": "mfgGTWxQoWN53them", "cmd_i": 1, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\teventually Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "kARaPuE7h266e2Dzo", "msg": "This expression failed to be typechecked line 40, column 2, filename=/tmp/alloy_heredoc7686562476253641609.als", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-12-2 22:22:21"} {"_id": "8xGvEqLK3XxBWZuQQ", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\t (Signal = Green)\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Yd7Naw3tkytRht2Mn", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-28 15:48:01"} {"_id": "idYuCd6rCJ62xKSry", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Jz67P8Gc3oQENANrK", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-18 16:44:40"} {"_id": "ZxPvKxYDYMaXizedF", "cmd_c": true, "cmd_i": 7, "cmd_n": "prop8ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways( all t:Train | some t.pos :> Exit implies eventually (no t.pos) )\n\talways( all t:Train | some t.pos :> (Track-Exit) implies eventually (t.pos in t.pos.prox) )\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways ( all s : Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green) )\n}\n\n\npred prop7 {\n\t\n\talways ( all t:Train | some t.pos :> Track implies eventually no t.pos :> Track )\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train, s:Signal | some (t.prox).signal :> s implies (s in Green) releases (t.pos' = t.pos) )\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "7w4dWMiLvmAvXTT4W", "msg": "The join operation here always yields an empty set.\nLeft type = {this/Train}\nRight type = {this/Track->this/Track}", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:51:23"} {"_id": "akr6oaAQ7DobhSJjD", "cmd_i": 8, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n (all t:Train| no t.pos after ( one t.pos':>Entry)) )\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "qBPfmDsynqfJqMdgj", "msg": "There are 1 possible tokens that can appear here:\n)", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-16 20:32:05"} {"_id": "YBunAS6QqN8eeNomW", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n }\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n}\n\n\npred prop3 {\n\t// Trains never move\n\t\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways(lone pos.Train)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "SfEWdL4SKN5XBqQ2X", "msg": "The join operation here always yields an empty set.\nLeft type = {this/Train->this/Track}\nRight type = {this/Train}", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-11 17:22:35"} {"_id": "5vd8wwMKgMGSf2ZRx", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t : Track | always lone t.~pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \talways all t : Train {\n \t\t(t.pos = Exit) implies no t.pos'\n \tor\n \t(one t.pos) implies (t.pos' in t.pos.prox)\n \t}\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n \talways ((Signal-Green = Green') and (Green = Signal'-Green'))\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\t\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n \n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "q4zznnWZN72yH2vPD", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-7 10:34:25"} {"_id": "ujij5Z65N4JXutFrd", "cmd_i": 3, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n\t\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (t1,t2:Train | t1.pos not t2.pos)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "LJmMTF6po2zqo7A9k", "msg": "There are 1 possible tokens that can appear here:\n)", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-26 11:44:09"} {"_id": "HyBg2Dar2EdhFQvf3", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green \n}\n\n\npred prop3 {\n\t// Trains never move\n always all t: Train, tk: Track | (t->tk in pos implies always t->tk in pos) and (t->tk not in pos implies always t->tk not in pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "zQBqtkP2b4WiJ3hac", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-25 23:03:09"} {"_id": "5Y9HN6sNbN4gJj7PT", "cmd_i": 5, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n\t\n \n \n \t\n \t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways ( all s : Signal { s in Green => s' not in Green}\n \t\t\t\t\t\t\t s not in Green => s' in Green)\n}\n\n\npred prop7 {\n\t\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "A4q9oSZEEwCCBH7aT", "msg": "There are 1 possible tokens that can appear here:\n)", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-13 22:20:19"} {"_id": "bG9TdtTuStzmny6mT", "cmd_i": 5, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways (all s:Signals | s in Green implies (no (s & Green') ))\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "gTJHv66LkiLbqnqBq", "msg": "There are 38 possible tokens that can appear here:\n! # ( * @ Int NAME NUMBER STRING String Time ^ after all always before disj eventually fun historically iden int let lone no none once one pred seq set some sum this univ { } ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 23:37:05"} {"_id": "FAJYgJrWG6wkKkRxd", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways no Train\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "gTKeYWE64jCMEhyiN", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-26 10:52:55"} {"_id": "PcxtroXyE8n7PLBC4", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t: Train | {let x = t.pos | t} after t.pos = x\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "cGYgnbwd3bJhposLX", "msg": "This must be a formula expression.\nInstead, it has the following possible type(s):\n{this/Train}", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 22:42:34"} {"_id": "coGavZda8eW3sYFkd", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n \t\n \tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways (all t:Train |t.pos in Entry implies (t.pos'in t.pos.^prox) or t.pos in Exit implies no t.pos')\n}\n\n\npred prop6 {\n\t\n\talways (all s:Signal | always (s in Green) implies eventually (s not in Green ) or \n\t\t\t \t\t\talways s not in Green implies eventually (s in Green) )\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "22dpHTfioEh3aLPvi", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 21:41:26"} {"_id": "Qk5nXLMXMZrAveizD", "cmd_c": true, "cmd_i": 16, "cmd_n": "prop17ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \t\t always( one pos => one Train.pos:>Exit )\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "JWHu5Fb9sHSjNZ5yb", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 20:16:17"} {"_id": "9SWLZyRTvMwRSWWhD", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n \n all s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \tno releases pos \n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "uXnpa7PXHfmZWmmSE", "msg": "There are 29 possible tokens that can appear here:\n# ( * @ Int NAME NUMBER STRING String Time ^ all disj fun iden int let lone no none one pred seq some sum this univ { ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 22:57:15"} {"_id": "9RY8g6z89pHyshrqq", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways( all t:Train | some t.pos :> Exit implies eventually (no t.pos) )\n\talways( all t:Train | some t.pos :> (Track-Exit) implies eventually (t.pos in t.pos.prox) )\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways ( all s : Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green) )\n}\n\n\npred prop7 {\n\t\n\talways ( all t:Train | some t.pos :> Track implies eventually no t.pos :> Track )\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal not in Green) implies t.pos' = t.pos )\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\talways ( all t:Train | (no t.pos) triggered (t.pos in Entry) )\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "h4JpfXL6DSCZc8ioc", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:12:14"} {"_id": "i7kZdJkZGjdLQibiJ", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways trains = {all t: Train | t.pos}\n\talways all tt: Train | trains = tt.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\t\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "ugD3NcrgBpY8F2fs8", "msg": "The name \"trains\" cannot be found.", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 22:59:20"} {"_id": "225Pge49NjPLDsAuh", "cmd_i": 0, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tsignal = Red\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "qQBoihKvEiJ3qQPBc", "msg": "There are 38 possible tokens that can appear here:\n! # ( * @ Int NAME NUMBER STRING String Time ^ after all always before disj eventually fun historically iden int let lone no none once one pred seq set some sum this univ { } ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-11 17:03:09"} {"_id": "6AmNRS3gRx9GHCfqj", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all t : Track | eventually t.signal in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n all t : Train | always t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n all t1, t2 : Train | always t1.pos' != t2.pos'\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "CSfh4veZPbjeKwgtT", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-9 14:08:02"} {"_id": "8BuzZ78Qwqyku5guM", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal - Green | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\tno Train.pos.prox\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "W3krT2iDG2fDuPJpy", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 21:35:43"} {"_id": "8uNJw2g3is8E4DgxY", "cmd_i": 16, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\t\talways ( one (Train.pos) => Train.pos:>Exit )\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "XWQ7DD7DSKdidKr6b", "msg": "This must be a formula expression.\nInstead, it has the following possible type(s):\n{this/Track}", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-16 20:14:39"} {"_id": "cyRiFnz4NHF6fNqMd", "cmd_i": 0, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n\talways (all t:Train, k:Track | some t->k in pos implies after t->k in pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "BeugXMJugNiwogXxY", "msg": "This must be a set or relation.\nInstead, it has the following possible type(s):\n{PrimitiveBoolean}", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-13 21:20:47"} {"_id": "M8pf3PawEja5qifT7", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\talways (all t:Track, g:Green | g not in t.signal until (g in t.signal))\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "349kzmwtcE6SFay96", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-26 16:43:48"} {"_id": "wbSFKcoMMsaf6Ykr5", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t: Train | t.pos implies after t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "pDrvEqozXJm2nqLD2", "msg": "This must be a formula expression.\nInstead, it has the following possible type(s):\n{this/Track}", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 22:41:02"} {"_id": "ZY44yae6EYdRAvqRK", "cmd_i": 0, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n all s: Signal | no s.Green\n\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "FwCGymHmbqcziisH5", "msg": "This cannot be a legal relational join where\nleft hand side is s (type = {this/Signal})\nright hand side is this/Green (type = {this/Signal})", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-18 16:44:16"} {"_id": "EtWMpk6STGfBz9XZC", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n always (all t:Train| eventually (no t.pos => after one t.pos:>Entry) )\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "oyiMPdMoxyAJrTsdm", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 20:26:42"} {"_id": "6eLLva3aGe2fz4m2L", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "bgLxxrGeYitwk9DXH", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-25 23:22:48"} {"_id": "FSuSQKp3Ey9ZcD8k7", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways trains = {all t: Train | t}\n\talways all tt: Train, t: trains | t.pos = tt.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\t\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "i7kZdJkZGjdLQibiJ", "msg": "The name \"trains\" cannot be found.", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 23:01:16"} {"_id": "tycX6LzsmiYkScvsX", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\t\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "FavwXGsfZdj68h3qB", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-12-8 01:14:46"} {"_id": "EPYGg5SWRXGwq35kn", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n always all t: Train | always t in t.pos implies after t in t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Qhz6txHc6aRc4qdpk", "msg": "Subset operator is redundant, because the left and right subexpressions are always disjoint.\nLeft type = {this/Train}\nRight type = {this/Track}", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 22:44:11"} {"_id": "qoA596Jg5jNYfw3Rr", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways no Green\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\t\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "kiML2bvqv4E9vFDEA", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-8 01:12:26"} {"_id": "h5zhbQZjhasLBvZBL", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n\t\n \n \n \t\n \t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways ( all s : Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green) )\n}\n\n\npred prop7 {\n\t\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "ZYeQQikmHg5wpxBif", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2021-1-13 22:22:07"} {"_id": "yFarCtsSoAMtBWSDW", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n\t\n \talways( all t:Train | some t.pos implies t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "qgFEGnynbKmAhcmZq", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 21:24:56"} {"_id": "YQx2G8fYMZJYt7GMs", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n always (all t:Train|(one t.pos:> Exit => no t.pos'))\n always (all t:Train| (one t.pos and some t.pos.prox ) => (t.pos' in t.pos.prox or t.pos'=t.pos) )\n\n \n \n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "6CAboyGNzJ8ekxsiu", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 20:46:54"} {"_id": "HMzXzjTXrBkE3WmQy", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t : Track | always lone t.~pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n \t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\t\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\tall t : Train | eventually t.pos = Entry\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "u28KE4nxLmvnwSQPz", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-17 00:45:07"} {"_id": "qQBoihKvEiJ3qQPBc", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\nvar sig Red in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tSignal = Red\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "FwCGymHmbqcziisH5", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-11 17:01:54"} {"_id": "QapkqYmMcbp5qk3KQ", "cmd_c": true, "cmd_i": 12, "cmd_n": "prop13ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\talways ( all t:Train | no t.pos implies always (no t.pos))\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "uFKnXtHst7Hud6G2G", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 19:39:36"} {"_id": "mJkh2ByLgRJBb93tq", "cmd_i": 12, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t : Track | always lone t.~pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \talways all t : Train {\n \t\t(t.pos = Exit) implies no t.pos'\n \tor\n \t(one t.pos) implies (t.pos' in t.pos.prox)\n \t}\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n \talways all s : Signal {\n \t\t((s in Green) implies (eventually s not in Green))\n \tor\n \t((s not in Green) implies (eventually s in Green))\n \t}\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n \tall t : Train | (eventually always no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n \talways all t : ((Signal-Green).(~signal).(~pos)) | (t.pos' in t.pos.prox) implies (t.pos.signal in Green)\n\t\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n \n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n \talways all t : Train | (t.pos and no t.pos') implies (always no t.pos')\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always all t : Train | some t.pos implies eventually t.pos != t.pos'\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "CETbaE279RNnymTrb", "msg": "This must be a formula expression.\nInstead, it has the following possible type(s):\n{this/Track}", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-7 11:01:20"} {"_id": "Na4tStagWp4fkdZ7e", "cmd_c": true, "cmd_i": 9, "cmd_n": "prop10ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t all t:Train | some t.pos and (t.pos not in Entry implies before no t.pos and eventually ( some t.pos & Entry) )\n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "RT4af3iwaLnjDscTD", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2021-1-13 23:48:31"} {"_id": "nX8jsENLPfFnurjBo", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n \n all s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n always all t : Train | (t.pos = after t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "vJhiv9m6TD8NaFD3N", "msg": "There are 29 possible tokens that can appear here:\n# ( * @ Int NAME NUMBER STRING String Time ^ all disj fun iden int let lone no none one pred seq some sum this univ { ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 22:47:24"} {"_id": "FnpXH5dhd6fFHQidr", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s:Signal | eventually s in Green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n always all t:Train | t.pos = t.pos'\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n always all disj t1,t2:Train | t1.pos!=t2.pos\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "ZQzr6tnhE4JdJWQfu", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-16 19:03:27"} {"_id": "4dyTpBj8yEFhkNSh2", "cmd_c": true, "cmd_i": 14, "cmd_n": "prop15ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\t always (some t: Train| (no t.pos implies some t.pos) or t.pos != t.pos')\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "6MGBoMbzbjgv5Z6Ez", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 19:44:30"} {"_id": "4nsnayKaTKYhmfE3R", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t: Train | some tr: Track | t in tr implies t' in tr\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "MNzGxwb8npcY754fb", "msg": "Subset operator is redundant, because the left and right subexpressions are always disjoint.\nLeft type = {this/Train}\nRight type = {this/Track}", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 22:30:32"} {"_id": "FJFpZ85RA5JMS3khb", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\t \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t (all s:Signal | eventually s in Green)\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "3B2CiQAW33hTw4hC8", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-28 15:53:27"} {"_id": "DqLwSoA4CvKPJio4q", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n }\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways (no prox)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "ZinXGQqcCLesAYtqs", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-11 17:17:52"} {"_id": "km5tmJhvvrNfBZphb", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n always (Signal in Green => Signal not in Green' || no Signal & Green => Signal in Green')\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\t\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "gHjp3TwwoSbB546ta", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-8 01:21:51"} {"_id": "HtdWMmAeN25XxLF5d", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\talways ( all t:Train |some t.pos and eventually (t.pos in Entry))\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "ESJjwbCZavK3tGXAm", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:13:19"} {"_id": "CtJ7kQF3K5spPC9YF", "cmd_c": true, "cmd_i": 13, "cmd_n": "prop14ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\talways ( all t:Train | (some t.pos and one (t.pos.signal :>Green) )implies (t.pos != t.pos' and t.pos.signal in Signal-Green) )\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "EA2AjHCCe9Sm6FQnJ", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 19:52:35"} {"_id": "HXEzBEXzXnFa5vYNL", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green \n}\n\n\npred prop3 {\n\t// Trains never move\n \n \n always pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n always pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n always all t: Train | no t.pos & Exit implies t.pos' in t.pos + t.pos.prox\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "E9DWBdyRLx5DC2ptw", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-26 00:01:03"} {"_id": "jatGGNqfz5wDBDMF7", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\tall t : Train | always no Green & t.pos.signal\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\t\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "qoA596Jg5jNYfw3Rr", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-8 01:13:33"} {"_id": "nsyj3XAhWL9kNGMWC", "cmd_i": 3, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n no Green\n\t// Intially all signals are red\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s : Signal | eventually s in Green\n\n}\n\n\npred prop3 {\n // Trains never move\n always pos' = pos\n}\n\n\npred prop4 {\n always t1: Train | t2: Train | some t1.pos & t2.pos implies t1 = t2\n // There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "vPGNYjQ32eJqKgc5c", "msg": "There are 38 possible tokens that can appear here:\n! # ( * @ Int NAME NUMBER STRING String Time ^ after all always before disj eventually fun historically iden int let lone no none once one pred seq set some sum this univ { } ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-12-2 22:57:25"} {"_id": "Y2hpfkZmRjMGxd8jT", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n }\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n}\n\n\npred prop3 {\n\t// Trains never move\n\t\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t1,t2 : Train | always no (t1.pos & t2.pos) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "kNRYaxkuBFqPMz6Q2", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-11 17:27:34"} {"_id": "g755NW79EYamYeJmK", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways (all t : Train | t.pos = t.pos')\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (all t : Track | lone pos.t)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "R48ucRG4vgMxyXZpk", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-25 16:14:47"} {"_id": "XqznFbPEqmRj3y7TT", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green \n}\n\n\npred prop3 {\n\t// Trains never move\n always all t: Train, tk: Track | t->tk in pos implies always t->tk in pos and t->tk not in pos implies always t->tk not in pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "HyBg2Dar2EdhFQvf3", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 23:03:33"} {"_id": "J7G5QfqnM99Qp5aCC", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green \n}\n\n\npred prop3 {\n\t// Trains never move\n \n \n always pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n always pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t: Train | after t.pos in t.pos + t.pos.prox\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "WP7ufoFgaaumcoJDN", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 23:24:51"} {"_id": "D8Ndmbk8EeNZNvdFP", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways all t : Train | t.pos' in t.pos.prox\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\t\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "w34dYjtDjzZ9jD3vW", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-8 01:17:21"} {"_id": "LDnrBoepBQSaFdeCD", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n \n all s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n always all t : Train | lone t.pos \n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "NhuTJrhNf7oMd4ExY", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 22:48:22"} {"_id": "gTKeYWE64jCMEhyiN", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways Train\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "rB5pze2z53wycyBpJ", "msg": "This expression failed to be typechecked line 46, column 2, filename=/tmp/alloy_heredoc13364618114271333900.als", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-26 10:52:47"} {"_id": "jfQMHhvEvkueh56CC", "cmd_i": 5, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways (all t : Train | t.pos = t.pos')\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (all t : Track | lone pos.t)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways (all s : Signal | \n \t\t \t\ts in Green implies eventually s not in Green or \n \t\t \t\ts not in Green implies s eventually s in Green\n\t\t\t)\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "gXJztDPdhmNkaWxzo", "msg": "There are 1 possible tokens that can appear here:\n)", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 16:35:46"} {"_id": "yLF46scrfj7ANFkTb", "cmd_c": true, "cmd_i": 6, "cmd_n": "prop7ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies no t.pos')\n always (t.pos in Entry implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\talways (all t :Train|t in Entry implies eventually t.pos in Exit)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "BtePM4sp2zNwmBEqi", "msg": "Subset operator is redundant, because the left and right subexpressions are always disjoint.\nLeft type = {this/Train}\nRight type = {this/Track}", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:20:32"} {"_id": "nRXdbHQKrcrfwMHz9", "cmd_i": 0, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all t = Track | lone (t.~pos)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "FwCGymHmbqcziisH5", "msg": "The \"all x\" construct is no longer supported. If you know the range of possible values of x, consider rewriting it as \"x == set_of_all_possible_values\".", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-14 01:22:05"} {"_id": "hGWvxxBgsTyXLGsiZ", "cmd_c": true, "cmd_i": 6, "cmd_n": "prop7ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t : Track | always lone t.~pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \talways all t : Train {\n \t\t(t.pos = Exit) implies no t.pos'\n \tor\n \t(one t.pos) implies (t.pos' in t.pos.prox)\n \t}\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n \talways ((Signal-Green = Green') and (Green = Signal'-Green'))\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n \tall t : Train | (eventually always no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\t\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n \n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "gtc5bxke4Wckpk4bx", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-7 10:37:22"} {"_id": "JshM6adtqt7jw8u2H", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green \n}\n\n\npred prop3 {\n\t// Trains never move\n \n \n always pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n always pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n always all t: Train | no t.pos & Exit implies t.pos' in t.pos + t.pos.prox\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "79e6uwDmWEytRuhjG", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-26 08:42:12"} {"_id": "KHkyTz8MkYw8zQ6h2", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\t \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\teventually(all t:Track | t.signal = Green)\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "ZdhDGMguuBKSfhWkp", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-28 15:51:23"} {"_id": "FJ3CvbFv2xNH6pBGg", "cmd_i": 5, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways (all t : Train | t.pos = t.pos')\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (all t : Track | lone pos.t)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways (all s : Signal | s in Green implies eventually s not in Green or \n \t\t \t\ts not in Green implies s eventually s in Green))\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "ZcZD8evvM2xEnhH6N", "msg": "There are 1 possible tokens that can appear here:\n)", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 16:37:51"} {"_id": "fFn5M9HbMg6PAeTJx", "cmd_i": 8, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n (all t:Train| eventually (no t.pos after one (t.pos':>Entry)) \n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "psgkLmTYu6b39bW4g", "msg": "There are 1 possible tokens that can appear here:\n)", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-16 20:32:39"} {"_id": "7BX7YAhPqRM3X2zrb", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\tall t: Train | always t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "pPvQ9F8ff4j7WjBqX", "msg": "This expression failed to be typechecked line 46, column 17, filename=/tmp/alloy_heredoc11693361991812218940.als", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 22:46:07"} {"_id": "JmPJ6k9dJgGDAe5Xb", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies no t.pos')\n always (t.pos in Entry implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n\talways (all s:Signal | always (s in Green) implies eventually (s not in Green ) or \n\t\t\t \t\t\talways s not in Green implies eventually (s in Green) )\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "XJcW9yN9zLxHezCes", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:13:48"} {"_id": "LzKRroGrDStG5wwvC", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways all s: Signal | always s != s'\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "4fNukhWP7Dy7xLwq2", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 22:55:05"} {"_id": "dBAgaFNt3SkLCxEtg", "cmd_i": 3, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways ()\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (pos.~pos in iden)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Q2Je58sGNN5KuAgcB", "msg": "There are 37 possible tokens that can appear here:\n! # ( * @ Int NAME NUMBER STRING String Time ^ after all always before disj eventually fun historically iden int let lone no none once one pred seq set some sum this univ { ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 19:35:19"} {"_id": "yjdZARGd6WpKLE8eQ", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways( all t:Train | some t.pos :> Exit implies eventually (no t.pos) )\n\talways( all t:Train | some t.pos :> (Track-Exit) implies eventually (t.pos in t.pos.prox) )\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways ( all s : Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green) )\n}\n\n\npred prop7 {\n\t\n\talways ( all t:Train | some t.pos :> Track implies eventually no t.pos :> Track )\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal not in Green) implies t.pos' = t.pos )\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\tall t:Train | some tk:Entry | (t->tk not in pos) implies eventually (t->tk in pos)\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "CCTGpLnbPjPwXrkvR", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:37:46"} {"_id": "Ttpesm9ST7EaAj2Np", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n \n all s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways pos = pos and no pos in no pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "S9BsCovFmFWtsMau9", "msg": "There are 23 possible tokens that can appear here:\n# ( * @ Int NAME NUMBER STRING String Time ^ disj fun iden int none pred seq sum this univ { ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 23:13:33"} {"_id": "oQ7dH4k3uHJ3yGNWn", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n \t\n \tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n all t:Train |{\n \talways (t.pos in Exit implies no t.pos')\n \t\n }\n \t\n}\n\n\npred prop6 {\n\t\n\talways (all s:Signal | always (s in Green) implies eventually (s not in Green ) or \n\t\t\t \t\t\talways s not in Green implies eventually (s in Green) )\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "aCPrr8kwpuRokmtu7", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:01:42"} {"_id": "i8u2Q6gM7wG5kmRj6", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\t\n \tno Signal\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "guaSPdJ4CEP3mGwTq", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 22:56:22"} {"_id": "YWbzNC96YbcXkbunz", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n \n all s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n always pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "e7JvjkLs5vPCbPys3", "msg": "This expression failed to be typechecked line 47, column 3, filename=/tmp/alloy_heredoc16898243702996432121.als", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 22:45:31"} {"_id": "uzups8rY62xC5nAiR", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways all t : Train | t.pos' in t.pos.prox or t.pos in Exit => t.pos' in Exit\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\t\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "a8rbSKRQNbmDKP7cg", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-8 01:32:50"} {"_id": "PXkMwy4ga2bas5JHH", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t\n\talways (all s:Signal | always (s in Green) implies eventually (s not in Green ) or \n\t\t\t \t\t\talways s not in Green implies eventually (s in Green) )\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "P8AZSrfiEfeoNuh3h", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-27 00:05:33"} {"_id": "x8xiD6YaAn6FXxwyP", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\t\n \tno (Signal &Green)\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "i8u2Q6gM7wG5kmRj6", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-25 22:56:37"} {"_id": "qTAJNXWaioBgFvzw3", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\t(some s:Signal | s in Green) since (historically (all s:Signal | s not in Green)) \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t (all s:Signal | eventually s in Green)\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways( no t:Track | t in t.prox)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "vrFz5CR9dN8wserCS", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-28 15:58:31"} {"_id": "yapEcopEENDh2BgrK", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall disj t1, t2 : Train | always t1.pos != t2.pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "L88LDZm4e6LjvixXd", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-17 00:10:12"} {"_id": "NbFSzHiEGwCsJg9xY", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\tall t : Train | t.pos = t.pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (all t : Track | lone pos.t)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways (no Green & Green')\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "cS5wtKgGkFoL3X23a", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 16:10:27"} {"_id": "F83sy75kuFyAqi6u2", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways (t.pos)' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "4NHh2AwbMFrrsxpSv", "msg": "The name \"t\" cannot be found.", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-12-1 20:48:15"} {"_id": "xYtRCoF5qEBavsDH6", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n always all t: Train | t.pos implies after t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "GeXB7MqfjkSuKAq8t", "msg": "This must be a formula expression.\nInstead, it has the following possible type(s):\n{this/Track}", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-12-2 22:48:16"} {"_id": "NPCtc2qrQNMZG4FPg", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n }\n\npred prop2 {\n\t// Every signal will eventually become green\n\talways ( all g : Signal | eventually g=Green)\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "wC24wKTeTvCo342rA", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-11 17:10:03"} {"_id": "W3wPSYaYfrH5GwqhW", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t : Track | always lone t.~pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \talways all t : Train {\n \t\t(t.pos = Exit) implies no t.pos'\n \tor\n \t(one t.pos) implies (t.pos' in t.pos.prox)\n \t}\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n \tno (Green & Green')\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\t\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n \n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Ewh9SmAKqc4iNRG6p", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-7 10:31:55"} {"_id": "5cvSyRo9P5DQTEQ67", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t: Train | one tr: Track | always (t in pos.tr implies t' in pos.tr)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "pQ4DpwdrDfbMXz7XH", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 22:31:40"} {"_id": "vG7rtuAqpzsigQqxf", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n \n all s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n all t : Track | always lone t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "g4rHFSXtHJcC5po5Q", "msg": "The join operation here always yields an empty set.\nLeft type = {this/Track}\nRight type = {this/Train->this/Track}", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 22:38:02"} {"_id": "JFZ3hBKSbEGnCB3rR", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n eventually Green = Signal\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "TLeF7Ed3AeaQcobAE", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 22:32:49"} {"_id": "Jz67P8Gc3oQENANrK", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n all s: Signal | no Green\n\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "ZY44yae6EYdRAvqRK", "msg": "This variable is unused.", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-18 16:44:33"} {"_id": "8nN5snFY4BHKA64xT", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n \n all s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n always pos.~pos in iden\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "EgyMaa6fRTwhRHEbv", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 22:41:52"} {"_id": "eWmmeA4gmcKodQPpF", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways (all s:Signal | always (s in Green) implies eventually (no (s & Green')) or \n\t\t\t always (no (s & Green)) implies eventually (some (s & Green')))\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "XPt62bRJn3qMNEQnt", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-26 11:49:38"} {"_id": "gqKtXfWPGTd3rqm34", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n \t\n \tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n all t:Train |{\n \talways (t.pos in Exit implies no t.pos')\n \t\n }\n \t\n}\n\n\npred prop6 {\n\t\n\talways (all s:Signal | always (s in Green) implies eventually (s not in Green ) or \n\t\t\t \t\t\talways s not in Green implies eventually (s in Green) )\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "nvEgFBXyARLBcGzZT", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 21:54:34"} {"_id": "ieCRL3SY2dMNtQ96F", "cmd_i": 3, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (pos.(~pos) in iden)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\talways (all t:Train | some t.pos implies eventually no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\talways (all j:Junction | lone ((prox.j).signal&Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\talways (all t:Train )\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\t\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\t\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\t\n}", "derivationOf": "nYbPR4WmdicYGYq55", "msg": "There are 3 possible tokens that can appear here:\n, { |", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-29 14:37:57"} {"_id": "Q4GaxuNheYSkbbE9J", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\tall t:Train | always t.pos'=t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "BwtipzbCzgeTEGRY6", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2021-1-8 04:33:24"} {"_id": "BjkkhKRzgfzF8Dotj", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways(\n\t\tall t:Train {\n \tsome (t.pos & Exit) => no t.pos'\n \tsome (t.pos & (Track-Exit)) => some tk2: (t.pos).prox { t.pos' = tk2 }\n \t\t} \n \t)\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Tov3hjsvHDgpzP24D", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:14:32"} {"_id": "RntH6FCJPr3T5Q8Db", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n always all t: Train |one tr: Track | t.pos in tr implies after t.pos in tr\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "xYtRCoF5qEBavsDH6", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 22:48:58"} {"_id": "tFCW4XqrApkT3owpQ", "cmd_c": true, "cmd_i": 13, "cmd_n": "prop14ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\talways ( all t:Train | (some t.pos and one (t.pos.signal :>Green) )implies after (t.pos.signal in Signal-Green) )\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "xKScozzW2sHnyj7yF", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 19:57:45"} {"_id": "cQi6HCZrXvMJ5mAcv", "cmd_i": 3, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n}\n\n\npred prop3 {\n\t// Trains never move\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways one Train in one Track\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "ddvYBjihFNXb7Nbim", "msg": "There are 29 possible tokens that can appear here:\n# ( * @ Int NAME NUMBER STRING String Time ^ all disj fun iden int let lone no none one pred seq some sum this univ { ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-12-2 22:33:56"} {"_id": "Qhz6txHc6aRc4qdpk", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n always all t: Train | t in t.pos implies after t in t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "yiSvNGkZvchLmDrnv", "msg": "Subset operator is redundant, because the left and right subexpressions are always disjoint.\nLeft type = {this/Train}\nRight type = {this/Track}", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 22:44:03"} {"_id": "NpqKJuQukgqapHv2a", "cmd_c": true, "cmd_i": 14, "cmd_n": "prop15ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\talways (some t: Train| (no t.pos implies eventually some t.pos) or eventually t.pos != t.pos')\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "95g8pwd9Sjx8jjjfk", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 19:45:20"} {"_id": "Q2Je58sGNN5KuAgcB", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "GSTyChKYCgAfWFfjD", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-25 19:34:20"} {"_id": "A2Jqd8o8puH4iqp6z", "cmd_c": true, "cmd_i": 10, "cmd_n": "prop11ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "FBFv8QEeFDcfgdsb9", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2021-1-14 00:00:17"} {"_id": "7afxh5pxQCCNTor2K", "cmd_c": true, "cmd_i": 16, "cmd_n": "prop17ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)'=t.pos) \n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways (all t:pos.Track | (t.pos)' in t.pos + t.pos.prox or (t.pos in Exit and (t.pos)' in t.pos))\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\talways (all t:pos.Track | eventually no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\talways (all j:Junction | lone (prox.j).signal & Green)\n \talways (lone (prox.Junction).signal & Green)\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\talways (all t:Train | some t.pos implies once t.pos in Entry) \n}\n\n\npred prop12 {\n\t\n\t\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\t\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\talways (all t:pos.Track | eventually (t.pos)' != t.pos)\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:pos.Exit | (always some t.pos) since t.pos in Entry)\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\talways (some t:Train | historically no Train.pos and eventually(t.pos in Exit and historically no Exit))\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "qdb7PD9iyDsrGBcfB", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-1 21:29:17"} {"_id": "7TpYYMG64Nq3LdkBf", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n }\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways (no Track.^prox)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\t\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "dYuiPBFpdcBNubvpn", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-11 17:20:14"} {"_id": "pGskLeNeWijxttKdo", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green \n}\n\n\npred prop3 {\n\t// Trains never move\n \n always (Train->Track in pos implies always Train->Track in pos) and (Train->Track not in pos implies always Train->Track not in pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "3APrY8ixkoPhEYjAT", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 23:05:04"} {"_id": "qWa9FJbvf7pvqDXZJ", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways Train.pos' =Train.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "mv6EtA6mkL4H6pY8R", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 23:01:40"} {"_id": "aEne8the3vRMbWgb3", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n always Train in Entry\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "4P2gR7yBz63umuBLx", "msg": "Subset operator is redundant, because the left and right subexpressions are always disjoint.\nLeft type = {this/Train}\nRight type = {this/Track}", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 22:50:22"} {"_id": "GSWZJDzsoJjEBKjsv", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t : Track | always lone t.~pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \talways all t : Train {\n \t\t(t.pos = Exit) implies no t.pos'\n \tor\n \t(one t.pos) implies (t.pos' in t.pos.prox)\n \t}\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n \talways ((Signal-Green = Green') and (Green = (Signal-Green)'))\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n \tall t : Train | (eventually always no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\t\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n \n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "iCvEeXpDptepEpPwi", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-7 10:41:45"} {"_id": "BeugXMJugNiwogXxY", "cmd_i": 0, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n\talways (all t:Train, k:Track | some t->k in pos implies after t->k in pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "fwiCJZYnZBAyd8akM", "msg": "This must be a set or relation.\nInstead, it has the following possible type(s):\n{PrimitiveBoolean}", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-13 21:20:20"} {"_id": "PP2yDqFDniHwepwaQ", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n \n all s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways ^pos = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "rFaDG8MARFbRizPGZ", "msg": "^ <integer/pos[];(this/Train <: pos);> is redundant since its domain and range are disjoint: {this/Train->this/Track}", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 23:18:59"} {"_id": "Lki5N5psGRpji39a5", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\teventually all s: Signal | s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "xMJoP6pxDWBmhCKjh", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 22:31:46"} {"_id": "z57mYJcWQmau9d96G", "cmd_c": true, "cmd_i": 7, "cmd_n": "prop8ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "EzAjnds9sMvTyXecT", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2021-1-13 23:07:19"} {"_id": "exAiyXKr8cvzssdQg", "cmd_c": true, "cmd_i": 16, "cmd_n": "prop17ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \t\t ( one pos => no pos)\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "NvX4TuJWZeqTgJ7uZ", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 20:15:53"} {"_id": "q4zznnWZN72yH2vPD", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t : Track | always lone t.~pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \talways all t : Train {\n \t\t(t.pos = Exit) implies no t.pos'\n \tor\n \t(one t.pos) implies (t.pos' in t.pos.prox)\n \t}\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n \talways (Signal-Green = Green')\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\t\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n \n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "7SR55twydAC9xnWWv", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-7 10:33:23"} {"_id": "o7sNEfGK2ow78R8tu", "cmd_c": true, "cmd_i": 13, "cmd_n": "prop14ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\talways ( all t:Train | (some t.pos and one (t.pos.signal :>Green) )implies (t.pos'.signal in Signal-Green) )\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "je3QfYCfSYrSbkf7n", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 19:50:41"} {"_id": "8agC8ydsaKCCs9jMs", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n \talways all t1, t2: Train | some tr1: Track | always (t1.pos in tr1 and t2.pos in tr1 implies t1=t2)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Rm86nBcWSrG6qQvmN", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 23:00:52"} {"_id": "6GngTm9rKWAZEENGK", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\teventually Green in Signal\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "mfgGTWxQoWN53them", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 22:22:35"} {"_id": "qhtBkv9bdfagSMngP", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n eventually Green = Signal\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "kayocSPLfXzZoER3a", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 22:32:13"} {"_id": "K6RnJNMbsfTPswDva", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": " Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green, Red in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t No cycles\n\tno t : Track | t in t.^prox\n\t Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t Intially all signals are red\n\tSignal in Red\n}\n\n\npred prop2 {\n\t Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t Trains never move\n\talways all t:Train | t.pos'=t.pos\n}\n\n\npred prop4 {\n\t There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos)\n}\n\n\npred prop5 {\n\t A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "H4YMRYyaBcRnYtL6w", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-8 04:48:38"} {"_id": "C3R59mW4C2WsDR6zh", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n always (all t:Train| eventually (no t.pos => one (t.pos':>Entry)) )\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "tMhw9sJ7n8nMZWNeZ", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 20:33:39"} {"_id": "seMR4A9zgWmqzXx2h", "cmd_c": true, "cmd_i": 16, "cmd_n": "prop17ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \talways( one Train.pos:>Exit since one pos )\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Qk5nXLMXMZrAveizD", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 20:18:46"} {"_id": "T8xqwf79AAdrFACqx", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n always(all t:Train| eventually ( before no t.pos and after ( one t.pos:>Entry)) )\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "ndfWpGRKNLedPt2A2", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 20:30:36"} {"_id": "gHjp3TwwoSbB546ta", "cmd_i": 5, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n always (Signal in Green => Signal not in Green' || no Signal & Green => Signal in Green'\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\t\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "sPq6DgQx9fyFExid8", "msg": "There are 1 possible tokens that can appear here:\n)", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-12-8 01:21:45"} {"_id": "3nQnbSAtFcxZjRD5W", "cmd_c": true, "cmd_i": 7, "cmd_n": "prop8ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways (all t:Train |(some t.pos and some t.pos.signal) and (t.pos.signal) in (Signal-Green) implies some t.pos.prox and (some t.pos') since ((t.pos'.signal) in Green))\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "67r6uWNjgZXmYr6QE", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:50:42"} {"_id": "gp9GhSfjhr9gXWank", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green \n}\n\n\npred prop3 {\n\t// Trains never move\n \n \n always pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n always pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n always all t: Train | t not in Exit implies t.pos' in t.pos + t.pos.prox\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "AFtttsiWpvyvJpSQK", "msg": "Subset operator is redundant, because the left and right subexpressions are always disjoint.\nLeft type = {this/Train}\nRight type = {this/Track}", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 23:26:33"} {"_id": "Skk6SYvRHqpwfrqqh", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\t\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways (Green = Signal and no Green' or no Green and Green' = Signal')\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "GQFMy2yH67L7eLz4F", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-5 00:26:37"} {"_id": "x6DdzCStZ73SduoCY", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \tall t,tt:Track | t->tt in prox implies always t->tt in prox\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\t\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "FSuSQKp3Ey9ZcD8k7", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 23:09:59"} {"_id": "7aAryYBueJDAZyZeb", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Signal & Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "7QxmnWQvP3jyYmKW9", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-12-3 10:27:49"} {"_id": "95g8pwd9Sjx8jjjfk", "cmd_c": true, "cmd_i": 14, "cmd_n": "prop15ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\talways (some t: Train| (no t.pos implies eventually some t.pos) or t.pos != t.pos')\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "6RXj9PkoFGmAcx7gF", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 19:45:13"} {"_id": "wJLR7XcxhvAZQWssL", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\talways (all t:Track&Entry | Green not in t.signal)\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "CLhKrJSKHDzZYxTuf", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-26 16:38:20"} {"_id": "Bv8T4MNY2hK8iJWdX", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\t(some s:Signal | s in Green) since (historically (all s:Signal | s not in Green)) \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t (all s:Signal | eventually s in Green)\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways( all t:Train | no t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "PWCJcnms843QPTf3R", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-28 16:00:27"} {"_id": "Dbkh9d4rBnJN3zC4B", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (pos.(~pos) in iden)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "ZhvZd4Eo2JG8gHeng", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-25 19:36:35"} {"_id": "G6CvGoXN9syAbCueN", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "5aDgp4AdhdXNyJhcv", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2021-1-13 21:21:02"} {"_id": "w34dYjtDjzZ9jD3vW", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways pos in pos'\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\t\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "tycX6LzsmiYkScvsX", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-8 01:16:33"} {"_id": "66uH8rfaCJbERe7pw", "cmd_c": true, "cmd_i": 6, "cmd_n": "prop7ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t : Track | always lone t.~pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \talways all t : Train {\n \t\t(t.pos = Exit) implies no t.pos'\n \tor\n \t(one t.pos) implies (t.pos' in t.pos.prox)\n \t}\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n \talways ((Signal-Green = Green') and (Green = Signal'-Green'))\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n \tall t : Train | eventually no t.pos\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\t\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n \n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "5vd8wwMKgMGSf2ZRx", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-7 10:35:17"} {"_id": "qyFtdNd9ecXqTpgav", "cmd_c": true, "cmd_i": 13, "cmd_n": "prop14ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\talways ( all t:Train | (some t.pos and one (t.pos.signal :>Green) ) implies (eventually t.pos'!=t.pos and (t.pos.signal in Signal-Green) ))\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "hYgq9DrLZYsnRWZwS", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 19:59:01"} {"_id": "Kg3xegpi23nc2qcqt", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways no Train.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "iSSLLgwhu8Lmgcj5k", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-5 00:12:41"} {"_id": "AEcXoN9yzQMmcvWKS", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways all t:Train |t.pos in Entry implies some t.pos.prox in \n}\n\n\npred prop6 {\n\t\n\talways (all s:Signal | always (s in Green) implies eventually (s not in Green ) or \n\t\t\t \t\t\talways s not in Green implies eventually (s in Green) )\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "BsPtfpXa5oFyNHSSz", "original": "FwCGymHmbqcziisH5", "theme": {"currentFramePosition": {}, "currentlyProjectedSigs": [], "generalSettings": {"currentLayout": "breadthfirst", "metaPrimSigs": [{"parent": null, "type": "univ"}, {"parent": "Feedback", "type": "AcceptedInvalidInstance"}, {"parent": "univ", "type": "Feedback"}, {"parent": "univ", "type": "Int"}, {"parent": "Track", "type": "Junction"}, {"parent": "Feedback", "type": "RejectedValidInstance"}, {"parent": "univ", "type": "Signal"}, {"parent": "univ", "type": "String"}, {"parent": "univ", "type": "Track"}, {"parent": "univ", "type": "Train"}, {"parent": "null", "type": "univ"}, {"parent": "Int", "type": "seq/Int"}, {"parent": "Feedback", "type": "AcceptedInvalidInstance"}, {"parent": "univ", "type": "Feedback"}, {"parent": "univ", "type": "Int"}, {"parent": "Track", "type": "Junction"}, {"parent": "Feedback", "type": "RejectedValidInstance"}, {"parent": "univ", "type": "Signal"}, {"parent": "univ", "type": "String"}, {"parent": "univ", "type": "Track"}, {"parent": "univ", "type": "Train"}, {"parent": "null", "type": "univ"}, {"parent": "Int", "type": "seq/Int"}], "metaSubsetSigs": [{"parent": "Track", "type": "this/Entry:Track"}, {"parent": "Track", "type": "this/Exit:Track"}]}, "nodePositions": {}, "relationSettings": {"edgeColors": [{"color": "#0074D9", "relation": "pos"}, {"color": "#0074D9", "relation": "signal"}, {"color": "#0074D9", "relation": "prox"}], "edgeStyles": [{"edgeStyle": "solid", "relation": "pos"}, {"edgeStyle": "solid", "relation": "signal"}, {"edgeStyle": "solid", "relation": "prox"}], "showAsArcs": [{"relation": "general", "showAsArcs": true}, {"relation": "pos", "showAsArcs": true}, {"relation": "signal", "showAsArcs": true}, {"relation": "AcceptedInvalidInstance", "showAsArcs": true}, {"relation": "Junction", "showAsArcs": true}, {"relation": "this/Entry:Junction", "showAsArcs": true}, {"relation": "this/Exit:Junction", "showAsArcs": true}, {"relation": "Train", "showAsArcs": true}, {"relation": "prox", "showAsArcs": true}, {"relation": "Track", "showAsArcs": true}, {"relation": "this/Entry:Track", "showAsArcs": true}, {"relation": "Signal", "showAsArcs": true}, {"relation": "this/Green:Signal", "showAsArcs": true}, {"relation": "RejectedValidInstance", "showAsArcs": true}], "showAsAttributes": [{"relation": "signal", "showAsAttributes": false}, {"relation": "pos", "showAsAttributes": false}, {"relation": "prox", "showAsAttributes": false}]}, "sigSettings": {"nodeBorders": [{"border": "solid", "type": "univ"}, {"border": "inherit", "type": "AcceptedInvalidInstance"}, {"border": "inherit", "type": "Feedback"}, {"border": "inherit", "type": "Int"}, {"border": "inherit", "type": "this/Entry:Junction"}, {"border": "inherit", "type": "Junction"}, {"border": "inherit", "type": "Track"}, {"border": "inherit", "type": "this/Green:Signal"}, {"border": "inherit", "type": "Signal"}, {"border": "inherit", "type": "Train"}, {"border": "inherit", "type": "seq/Int"}, {"border": "inherit", "type": "general"}, {"border": "inherit", "type": "this/Exit:Junction"}, {"border": "inherit", "type": "this/Entry:Track"}, {"border": "inherit", "type": "RejectedValidInstance"}, {"border": "inherit", "type": "this/Exit:Track"}], "nodeColors": [{"color": "#2ECC40", "type": "univ"}, {"color": "#AAAAAA", "type": "AcceptedInvalidInstance"}, {"color": "inherit", "type": "Feedback"}, {"color": "inherit", "type": "Int"}, {"color": "inherit", "type": "this/Entry:Junction"}, {"color": "#0074D9", "type": "Junction"}, {"color": "#0074D9", "type": "Track"}, {"color": "#2ECC40", "type": "this/Green:Signal"}, {"color": "#FF4136", "type": "Signal"}, {"color": "#FFDC00", "type": "Train"}, {"color": "inherit", "type": "seq/Int"}, {"color": "inherit", "type": "general"}, {"color": "inherit", "type": "this/Exit:Junction"}, {"color": "inherit", "type": "this/Entry:Track"}, {"color": "#AAAAAA", "type": "RejectedValidInstance"}, {"color": "inherit", "type": "this/Exit:Track"}], "nodeShapes": [{"shape": "ellipse", "type": "univ"}, {"shape": "octagon", "type": "AcceptedInvalidInstance"}, {"shape": "inherit", "type": "Feedback"}, {"shape": "inherit", "type": "Int"}, {"shape": "inherit", "type": "this/Entry:Junction"}, {"shape": "inherit", "type": "Junction"}, {"shape": "rectangle", "type": "Track"}, {"shape": "inherit", "type": "this/Green:Signal"}, {"shape": "inherit", "type": "Signal"}, {"shape": "pentagon", "type": "Train"}, {"shape": "inherit", "type": "seq/Int"}, {"shape": "inherit", "type": "general"}, {"shape": "inherit", "type": "this/Exit:Junction"}, {"shape": "inherit", "type": "this/Entry:Track"}, {"shape": "octagon", "type": "RejectedValidInstance"}, {"shape": "inherit", "type": "this/Exit:Track"}], "nodeVisibility": [{"type": "univ", "visibility": false}, {"type": "Int", "visibility": true}, {"type": "seq/Int", "visibility": true}, {"type": "general", "visibility": false}, {"type": "AcceptedInvalidInstance", "visibility": false}, {"type": "this/Entry:Junction", "visibility": false}, {"type": "this/Green:Signal", "visibility": false}, {"type": "Train", "visibility": false}, {"type": "Junction", "visibility": false}, {"type": "this/Exit:Junction", "visibility": false}, {"type": "Signal", "visibility": false}, {"type": "this/Entry:Track", "visibility": false}, {"type": "Track", "visibility": false}, {"type": "RejectedValidInstance", "visibility": false}, {"type": "this/Exit:Track", "visibility": false}]}}, "time": "2021-1-13 22:03:05"} {"_id": "KAPpdFmC7saNjkt3D", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t (all t:Train | eventually (some (t.pos.prox & Entry ) and some t.pos and t.pos in Entry) )\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "CFZoBTevEfQttXBnn", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:32:54"} {"_id": "Y5GKBN62D2wfJQYgT", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all t : Track | eventually t.signal in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n all t : Train | always t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n all t1, t2 : Train | always t1.pos' != t2.pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "PNTJWWLBSoH4mNhxv", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-9 14:11:20"} {"_id": "ESJjwbCZavK3tGXAm", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\talways ( all t:Train | eventually (t.pos in Entry))\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "FuK3ftfPixhspTibg", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:12:48"} {"_id": "Md27pnLssJ4hAXTic", "cmd_c": true, "cmd_i": 9, "cmd_n": "prop10ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)'=t.pos) \n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways (all t:pos.Track | (t.pos)' in t.pos + t.pos.prox or (t.pos in Exit and (t.pos)' in t.pos))\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\talways (all t:pos.Track | eventually no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\talways (all j:Junction | lone (prox.j).signal & Green)\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "hMQuNtcnia3kCCeAR", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-12-1 21:06:55"} {"_id": "TGT45vnmwpFfdotNj", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n (all t:Train| eventually (no t.pos and after one t.pos:>Entry))\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "6EXDDSXFeh7EzRhc9", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 20:23:55"} {"_id": "PfCb3LcBeYCittuDo", "cmd_i": 4, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways(\n\t\tall t:Train {\n \tsome (t.pos & Exit) => t.pos' = t.pos - tk\n \tsome (t.pos && (Track-Exit)) => some tk2: tk.prox | t.pos' = tk2\n \t\t} \n \t)\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Xk386bWLWNEZLx56f", "msg": "The name \"tk\" cannot be found.", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-13 22:02:38"} {"_id": "FPyNhiHKfGwsZm8X8", "cmd_c": true, "cmd_i": 13, "cmd_n": "prop14ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\talways ( all t:Train | ( one (t.pos.signal :>Green) )implies after (t.pos.signal in Signal-Green) )\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "zt4CJmj6t8mi6Txg3", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 19:55:09"} {"_id": "vPGNYjQ32eJqKgc5c", "cmd_i": 3, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n no Green\n\t// Intially all signals are red\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s : Signal | eventually s in Green\n\n}\n\n\npred prop3 {\n // Trains never move\n always pos' = pos\n}\n\n\npred prop4 {\n always t1: Train | t2: Train | some t1.pos & t2.pos implies t1 = t2\n // There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "DgAnBEkcY7gRH4tty", "msg": "There are 38 possible tokens that can appear here:\n! # ( * @ Int NAME NUMBER STRING String Time ^ after all always before disj eventually fun historically iden int let lone no none once one pred seq set some sum this univ { } ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-12-2 22:55:20"} {"_id": "vrFz5CR9dN8wserCS", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\t(some s:Signal | s in Green) since (historically (all s:Signal | s not in Green)) \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t (all s:Signal | eventually s in Green)\n}\n\n\npred prop3 {\n\t// Trains never move\n\t\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "thwWCPJjCdJGdrnbL", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-28 15:57:39"} {"_id": "T9qxmSX7GqD6BqSam", "cmd_i": 16, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)'=t.pos) \n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways (all t:pos.Track | (t.pos)' in t.pos + t.pos.prox or (t.pos in Exit and (t.pos)' in t.pos))\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\talways (all t:pos.Track | eventually no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\talways (all j:Junction | lone (prox.j).signal & Green)\n \talways (lone (prox.Junction).signal & Green)\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\talways (all t:Train | some t.pos implies once t.pos in Entry) \n}\n\n\npred prop12 {\n\t\n\t\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\t\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\talways (all t:pos.Track | eventually (t.pos)' != t.pos)\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:pos.Exit | (always some t.pos) since t.pos in Entry)\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\talways (some t:Train | historically lone (Train.pos + t) and eventually (t.pos in Exit and historically lone (Train.Exit + t)))\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "w6mmjJnwzDhEbSRRY", "msg": "This cannot be a legal relational join where\nleft hand side is this/Train (type = {this/Train})\nright hand side is this/Exit (type = {this/Track})", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-12-1 21:32:53"} {"_id": "YvwiiQG7Yu7SwEDRj", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\talways ( all t:Train |no t.pos implies eventually ( some t.pos and t.pos in Entry) )\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "xay3eFb6FHm8YRQsZ", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:27:31"} {"_id": "covAvvcayf9bEnTt6", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\tall t : Train | always t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "FAJYgJrWG6wkKkRxd", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-26 10:54:46"} {"_id": "B2WtWTdCj2zFatbpb", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n\t\n \n \n \t\n \t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways ( all s : Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green) )\n}\n\n\npred prop7 {\n\t\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "h5zhbQZjhasLBvZBL", "original": "FwCGymHmbqcziisH5", "theme": {"currentFramePosition": {}, "currentlyProjectedSigs": [], "generalSettings": {"currentLayout": "breadthfirst", "metaPrimSigs": [{"parent": null, "type": "univ"}, {"parent": "Feedback", "type": "AcceptedInvalidInstance"}, {"parent": "univ", "type": "Feedback"}, {"parent": "univ", "type": "Int"}, {"parent": "Track", "type": "Junction"}, {"parent": "Feedback", "type": "RejectedValidInstance"}, {"parent": "univ", "type": "Signal"}, {"parent": "univ", "type": "String"}, {"parent": "univ", "type": "Track"}, {"parent": "univ", "type": "Train"}, {"parent": "null", "type": "univ"}, {"parent": "Int", "type": "seq/Int"}], "metaSubsetSigs": [{"parent": "Track", "type": "this/Entry:Track"}, {"parent": "Track", "type": "this/Exit:Track"}, {"parent": "Signal", "type": "this/Green:Signal"}]}, "nodePositions": {"-1": {"x": 0, "y": 0}, "-2": {"x": 0, "y": 0}, "-3": {"x": 0, "y": 0}, "-4": {"x": 0, "y": 0}, "-5": {"x": 0, "y": 0}, "-6": {"x": 0, "y": 0}, "-7": {"x": 0, "y": 0}, "-8": {"x": 0, "y": 0}, "0": {"x": 0, "y": 0}, "1": {"x": 0, "y": 0}, "2": {"x": 0, "y": 0}, "3": {"x": 0, "y": 0}, "4": {"x": 0, "y": 0}, "5": {"x": 0, "y": 0}, "6": {"x": 0, "y": 0}, "7": {"x": 0, "y": 0}, "RejectedValidInstance": {"x": 342.39998372395837, "y": 99.56666564941406}, "Signal0": {"x": 684.7999674479166, "y": 199.13333129882812}, "Signal1": {"x": 513.5999755859375, "y": 298.6999969482422}, "Track0": {"x": 342.39998372395837, "y": 199.13333129882812}, "Track1": {"x": 684.7999674479166, "y": 99.56666564941406}}, "relationSettings": {"edgeColors": [{"color": "#0074D9", "relation": "pos"}, {"color": "#0074D9", "relation": "signal"}, {"color": "#0074D9", "relation": "prox"}], "edgeStyles": [{"edgeStyle": "solid", "relation": "pos"}, {"edgeStyle": "solid", "relation": "signal"}, {"edgeStyle": "solid", "relation": "prox"}], "showAsArcs": [{"relation": "general", "showAsArcs": true}, {"relation": "pos", "showAsArcs": true}, {"relation": "signal", "showAsArcs": true}, {"relation": "AcceptedInvalidInstance", "showAsArcs": true}, {"relation": "Junction", "showAsArcs": true}, {"relation": "this/Entry:Junction", "showAsArcs": true}, {"relation": "this/Exit:Junction", "showAsArcs": true}, {"relation": "Train", "showAsArcs": true}, {"relation": "prox", "showAsArcs": true}, {"relation": "Track", "showAsArcs": true}, {"relation": "this/Entry:Track", "showAsArcs": true}, {"relation": "Signal", "showAsArcs": true}, {"relation": "this/Green:Signal", "showAsArcs": true}, {"relation": "RejectedValidInstance", "showAsArcs": true}], "showAsAttributes": [{"relation": "signal", "showAsAttributes": false}, {"relation": "pos", "showAsAttributes": false}, {"relation": "prox", "showAsAttributes": false}]}, "sigSettings": {"nodeBorders": [{"border": "solid", "type": "univ"}, {"border": "inherit", "type": "AcceptedInvalidInstance"}, {"border": "inherit", "type": "Feedback"}, {"border": "inherit", "type": "Int"}, {"border": "inherit", "type": "this/Entry:Junction"}, {"border": "inherit", "type": "Junction"}, {"border": "inherit", "type": "Track"}, {"border": "inherit", "type": "this/Green:Signal"}, {"border": "inherit", "type": "Signal"}, {"border": "inherit", "type": "Train"}, {"border": "inherit", "type": "seq/Int"}, {"border": "inherit", "type": "general"}, {"border": "inherit", "type": "this/Exit:Junction"}, {"border": "inherit", "type": "this/Entry:Track"}, {"border": "inherit", "type": "RejectedValidInstance"}, {"border": "inherit", "type": "this/Exit:Track"}], "nodeColors": [{"color": "#2ECC40", "type": "univ"}, {"color": "#AAAAAA", "type": "AcceptedInvalidInstance"}, {"color": "inherit", "type": "Feedback"}, {"color": "inherit", "type": "Int"}, {"color": "inherit", "type": "this/Entry:Junction"}, {"color": "#0074D9", "type": "Junction"}, {"color": "#0074D9", "type": "Track"}, {"color": "#2ECC40", "type": "this/Green:Signal"}, {"color": "#FF4136", "type": "Signal"}, {"color": "#FFDC00", "type": "Train"}, {"color": "inherit", "type": "seq/Int"}, {"color": "inherit", "type": "general"}, {"color": "inherit", "type": "this/Exit:Junction"}, {"color": "inherit", "type": "this/Entry:Track"}, {"color": "#AAAAAA", "type": "RejectedValidInstance"}, {"color": "inherit", "type": "this/Exit:Track"}], "nodeShapes": [{"shape": "ellipse", "type": "univ"}, {"shape": "octagon", "type": "AcceptedInvalidInstance"}, {"shape": "inherit", "type": "Feedback"}, {"shape": "inherit", "type": "Int"}, {"shape": "inherit", "type": "this/Entry:Junction"}, {"shape": "inherit", "type": "Junction"}, {"shape": "rectangle", "type": "Track"}, {"shape": "inherit", "type": "this/Green:Signal"}, {"shape": "inherit", "type": "Signal"}, {"shape": "pentagon", "type": "Train"}, {"shape": "inherit", "type": "seq/Int"}, {"shape": "inherit", "type": "general"}, {"shape": "inherit", "type": "this/Exit:Junction"}, {"shape": "inherit", "type": "this/Entry:Track"}, {"shape": "octagon", "type": "RejectedValidInstance"}, {"shape": "inherit", "type": "this/Exit:Track"}], "nodeVisibility": [{"type": "univ", "visibility": false}, {"type": "Int", "visibility": true}, {"type": "seq/Int", "visibility": true}, {"type": "general", "visibility": false}, {"type": "AcceptedInvalidInstance", "visibility": false}, {"type": "this/Entry:Junction", "visibility": false}, {"type": "this/Green:Signal", "visibility": false}, {"type": "Train", "visibility": false}, {"type": "Junction", "visibility": false}, {"type": "this/Exit:Junction", "visibility": false}, {"type": "Signal", "visibility": false}, {"type": "this/Entry:Track", "visibility": false}, {"type": "Track", "visibility": false}, {"type": "RejectedValidInstance", "visibility": false}, {"type": "this/Exit:Track", "visibility": false}]}}, "time": "2021-1-13 22:22:09"} {"_id": "4P2gR7yBz63umuBLx", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n always all t: Train | always t in Entry\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "RntH6FCJPr3T5Q8Db", "msg": "Subset operator is redundant, because the left and right subexpressions are always disjoint.\nLeft type = {this/Train}\nRight type = {this/Track}", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 22:50:03"} {"_id": "DnXXqc4nf7T6vBgJF", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\t(some s:Signal | s in Green) since (historically (all s:Signal | s not in Green)) \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t (all s:Signal | eventually s in Green)\n}\n\n\npred prop3 {\n\t// Trains never move\n\t\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "FwCGymHmbqcziisH5", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-12-3 09:47:23"} {"_id": "58SH4ibaxeiktQeWP", "cmd_i": 7, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t : Track | always lone t.~pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \talways all t : Train {\n \t\t(t.pos = Exit) implies no t.pos'\n \tor\n \t(one t.pos) implies (t.pos' in t.pos.prox)\n \t}\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n \talways all s : Signal {\n \t\t((s in Green) implies (eventually s not in Green))\n \tor\n \t((s not in Green) implies (eventually s in Green))\n \t}\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n \tall t : Train | (eventually always no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n \talways all t : ((Signal-Green).(~signal).(~pos)) | (t.pos' in t.pos.prox) after (t.pos.signal in Green)\n\t\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n \n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "cP7NopECCfynS54iw", "msg": "The name \"t\" cannot be found.", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-7 10:50:14"} {"_id": "Zon9qo6puLBmAqiy8", "cmd_i": 0, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tall t:Track | once Green no in t.signal\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "BBCv6yFThuSFvZZsJ", "msg": "There are 29 possible tokens that can appear here:\n# ( * @ Int NAME NUMBER STRING String Time ^ all disj fun iden int let lone no none one pred seq some sum this univ { ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-26 16:32:04"} {"_id": "qLeACHjEcGjXBEz5j", "cmd_i": 5, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green) ) \n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies no t.pos')\n always (t.pos in Entry implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\nalways (all s:Signal | eventually )\n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "HA86z9XBrsztm36St", "msg": "There are 37 possible tokens that can appear here:\n! # ( * @ Int NAME NUMBER STRING String Time ^ after all always before disj eventually fun historically iden int let lone no none once one pred seq set some sum this univ { ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-13 22:18:39"} {"_id": "BpyxyZiXDvJJeZMi8", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "4auctgj5ANkSZu9f6", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2021-1-13 21:28:43"} {"_id": "nTkZNtG5Q582w4yph", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Signal & Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\talways all s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "7aAryYBueJDAZyZeb", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-3 10:28:18"} {"_id": "iXALDheeaJvjcKfzC", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\tall t : Train | always t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t1, t2 : Train | always t1.pos != t2.pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "covAvvcayf9bEnTt6", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-26 10:55:08"} {"_id": "LqST95yX5Z9kBFTFQ", "cmd_c": true, "cmd_i": 9, "cmd_n": "prop10ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways ( all s : Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green) )\n}\n\n\npred prop7 {\n\t\n\talways ( all t:Train | some t.pos :> Track implies eventually no t.pos :> Track )\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal not in Green) implies t.pos' = t.pos )\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t\n\tall j:Junction | lone ( (prox.j).signal & Green )\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "n2KhQaTMvtqih9apa", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:45:41"} {"_id": "Ai3YLCtZf8Ep83mpE", "cmd_c": true, "cmd_i": 7, "cmd_n": "prop8ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways (all t:Train |( (some t.pos and some t.pos.signal and some t.pos.prox) and (t.pos.signal) in (Signal-Green) ) implies(some t.pos') since ((t.pos'.signal) in Green))\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "m8FbpfaAhHHe6MQ3R", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:52:37"} {"_id": "J2gTrHSs7uMtYMqAo", "cmd_c": true, "cmd_i": 14, "cmd_n": "prop15ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\teventually always some pos =>(pos != pos')\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "NoELwKv2tJff64BD3", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 19:46:31"} {"_id": "YWozLMBWhgHf3sXFP", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n eventually all s:Signal | s in Green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Fz4vWE27yr5YKsXzD", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-16 18:36:19"} {"_id": "AhCBdkvvNarRnw26F", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\t \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\teventually Signal = Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "ZxshJELdsMjEXRFqM", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-28 15:52:30"} {"_id": "ZcHaFJZNXuiwNPhMa", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "WT3mSeGqzG6Qqi5QL", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-24 22:58:33"} {"_id": "j3D8FYWD9pgMNjKKr", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n }\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n}\n\n\npred prop3 {\n\t// Trains never move\n\t\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t1,t2 : Train | always no (t1.pos & t2.pos)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "z7cz5zfaC6ozEXwbn", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-11 17:24:17"} {"_id": "i6zZea6jukAcLuySN", "cmd_i": 10, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)'=t.pos) \n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways (all t:pos.Track | (t.pos)' in t.pos + t.pos.prox or (t.pos in Exit and (t.pos)' in t.pos))\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\talways (all t:pos.Track | eventually no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\talways (all j:Junction | lone (prox.j).signal & Green)\n \talways (lone (prox.Junction).signal & Green)\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\talways (t:pos.Track | once t.pos in Entry) \n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "EiuDnnCkoEhuuyYdu", "msg": "There are 1 possible tokens that can appear here:\n)", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-12-1 21:08:53"} {"_id": "WSsaGzWPGoHDWj2vt", "cmd_c": true, "cmd_i": 7, "cmd_n": "prop8ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways (all t:Train |(t.pos.signal) in (Signal-Green) implies (some t.pos') since ((t.pos.signal) in Green))\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "GfC5e9oJtifBhWyT7", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:47:07"} {"_id": "zb6jA5jSnAmPy9xEZ", "cmd_c": true, "cmd_i": 12, "cmd_n": "prop13ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t : Track | always lone t.~pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \talways all t : Train {\n \t\t(t.pos = Exit) implies no t.pos'\n \tor\n \t(one t.pos) implies (t.pos' in t.pos.prox)\n \t}\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n \talways all s : Signal {\n \t\t((s in Green) implies (eventually s not in Green))\n \tor\n \t((s not in Green) implies (eventually s in Green))\n \t}\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n \tall t : Train | (eventually always no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n \talways all t : ((Signal-Green).(~signal).(~pos)) | (t.pos' in t.pos.prox) implies (t.pos.signal in Green)\n\t\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n \n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n \talways all t : Train | no t.pos implies always no t.pos'\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always all t : Train | some t.pos implies eventually t.pos != t.pos'\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "ihmzjWnRdWJ8mtQSB", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-7 11:00:08"} {"_id": "bntQ34geHuoELdzKu", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n \n all s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n always ~pos.pos in iden\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "8nN5snFY4BHKA64xT", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 22:42:09"} {"_id": "Nxhh67crq4bfC32LW", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n always (all t:Train|(one t.pos:> Exit => no t.pos'))\n always (all t:Train| (one t.pos and some t.pos.prox => t.pos' in t.pos.prox ) )\n always (all t:Train| (no t.pos.prox and one t.pos:> Track-Exit) => (no t.pos' or t.pos'=t.pos) )\n \n \n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "zLeTDYPdH8b8QBiin", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 20:43:59"} {"_id": "DEWYCWhDphuTsr3ij", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways (all t : Train | t.pos = t.pos')\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (all t : Track | lone pos.t)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n \t\n \t\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "jfQMHhvEvkueh56CC", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 16:36:50"} {"_id": "CvoYdJLu96ZkaxXji", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways( all t:Train | some t.pos :> Exit implies eventually (no t.pos) )\n\talways( all t:Train | some t.pos :> (Track-Exit) implies eventually (t.pos in t.pos.prox) )\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways ( all s : Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green) )\n}\n\n\npred prop7 {\n\t\n\talways ( all t:Train | some t.pos :> Track implies eventually no t.pos :> Track )\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal not in Green) implies t.pos' = t.pos )\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\talways ( all t:Train | some tk:Entry | eventually (no t.pos until t.pos in tk))\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "v7f5dzHqrGvmNr9Xj", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:14:58"} {"_id": "5x5FkhrdYKn7gasFT", "cmd_i": 9, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)'=t.pos) \n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways (all t:pos.Track | (t.pos)' in t.pos + t.pos.prox or (t.pos in Exit and (t.pos)' in t.pos))\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\talways (all t:pos.Track | eventually no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\talways (all j:Junction | lone (prox.Junction).signal.Green)\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "At8GQvxyedzhrsEnK", "msg": "This cannot be a legal relational join where\nleft hand side is (this/Track <: prox) . this/Junction . (this/Track <: signal) (type = {this/Signal})\nright hand side is this/Green (type = {this/Signal})", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-12-1 21:04:34"} {"_id": "Ah7gCvcw4vwHCpyFY", "cmd_i": 5, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways (all s:Signals | (s in Green implies always (no (s & Green'))) )\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "spf2LzQbojh5Nch3D", "msg": "There are 38 possible tokens that can appear here:\n! # ( * @ Int NAME NUMBER STRING String Time ^ after all always before disj eventually fun historically iden int let lone no none once one pred seq set some sum this univ { } ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 23:36:16"} {"_id": "mvHKegRQRf7K9NzMX", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tTrack.signal not in Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "6JqqFj7u7QewMzwMw", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 22:29:39"} {"_id": "9bfNid74p7vhFHeDW", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\t(some s:Signal | s in Green) since (historically (all s:Signal | s not in Green)) \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t (all s:Signal | eventually s in Green)\n}\n\n\npred prop3 {\n\t// Trains never move\n\t\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "DnXXqc4nf7T6vBgJF", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-12-3 09:47:31"} {"_id": "gSYyRo3qFyJHm7k29", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t: Train | one tr: Track | t in pos.tr implies t' in pos.tr\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "5DABu7gEFeYvv8cva", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 22:31:26"} {"_id": "wuCDCiTwZyhEezyC4", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways all s : Signal | eventually s' != s\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "z2qWsuETaQsj6Bpv2", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 23:09:46"} {"_id": "NyaDseDsTK9etrGsH", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n }\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n}\n\n\npred prop3 {\n\t// Trains never move\n\t\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t : Train | always (lone t.pos)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "MeagNhPSQKCvnvqG9", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-11 17:23:20"} {"_id": "BdqEYQcB8nL6EFLrP", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green \n}\n\n\npred prop3 {\n\t// Trains never move\n always all t: Train, tk: Track | one t.pos and t->tk in pos implies always t->tk in pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "FJarGHWnfz9qwr7k9", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 22:49:39"} {"_id": "kW5HhSEyPvX79Cerz", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t always (all t:Train |some (t.pos.prox & Entry )implies eventually ( some t.pos and t.pos in Entry) )\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "hR6xXsXco5e9GdZxY", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:31:53"} {"_id": "r6GCdxZndvK7mcrfQ", "cmd_i": 4, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal - Green | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways(all t : Train | always (t.pos' = t.pos))\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\t\n \talways (all disj t1,t2 : Train | no (t1.pos & t2.pos)) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n\tall t : Train | t.pos' != t.pos | no Green\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "DdCdPGhgJbThTxi9n", "msg": "There are 38 possible tokens that can appear here:\n! # ( * @ Int NAME NUMBER STRING String Time ^ after all always before disj eventually fun historically iden int let lone no none once one pred seq set some sum this univ { } ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-13 22:02:10"} {"_id": "Ytyj2bFsiw9id3Gbe", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\tall t : Train | always t.pos = t.pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "FwCGymHmbqcziisH5", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-12-3 09:40:15"} {"_id": "XqeSi3wZ6yZnmwN93", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall disj t1, t2 : Train | always t1.pos != t2.pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "ARwSettjmRsCxpwbz", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-17 00:16:18"} {"_id": "rNs4S6JLtxvXjGmDG", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies no t.pos.prox')\n always (t.pos in Track-Exit implies t.pos' in t.pos.prox' )\n }\n}\n\n\npred prop6 {\n\t\n\talways (all s:Signal | always (s in Green) implies eventually (s not in Green ) or \n\t\t\t \t\t\talways s not in Green implies eventually (s in Green) )\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "uu4QdcJXc7mDBhPfZ", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:06:25"} {"_id": "WecQozJpqnAwD5CYM", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal - Green | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways(all t : Train | always (t.pos' = t.pos))\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\t\n \talways (all disj t1,t2 : Train | no (t1.pos & t2.pos)) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\tall t : Train | no (t.pos & Exit) implies (t.pos' in t.pos.prox) else (Train' = Train - t)\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "FemPPfrtxtfwB7jrz", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 21:58:53"} {"_id": "FjzQN7EesoFwEakeg", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n always (all t:Train|(one t.pos:> Exit => no t.pos') or (one t.pos and some t.pos.prox => t.pos' in t.pos.prox ) )\n \n\n \n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "hRaqe8E7aLgGJzeXC", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 20:37:23"} {"_id": "SA9FPn3XSTHuZGju3", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n always (all t:Train| (no t.pos and after one t.pos:>Entry) )\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "XxJaNEgSWD4XsGny9", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 20:25:19"} {"_id": "yv7jLwRgXkRcPLof9", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways(no pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Zw6zTYkbpFkJgvnkd", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-26 18:28:15"} {"_id": "fKJfaSoy9B2JMshyB", "cmd_c": true, "cmd_i": 14, "cmd_n": "prop15ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\teventually always (some pos =>(pos != pos'))\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "J2gTrHSs7uMtYMqAo", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 19:46:37"} {"_id": "x77W9AQ8iSTxu8ZNi", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\talways (all t:Track&Entry | always Green not in t.signal)\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "wJLR7XcxhvAZQWssL", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-26 16:38:28"} {"_id": "zt4CJmj6t8mi6Txg3", "cmd_c": true, "cmd_i": 13, "cmd_n": "prop14ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\talways ( all t:Train | (some t.pos' and one (t.pos.signal :>Green) )implies after (t.pos.signal in Signal-Green) )\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "KWqj98qsbtuoXGH5a", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 19:54:57"} {"_id": "aKjm5o5kJLkx8S4YF", "cmd_c": true, "cmd_i": 7, "cmd_n": "prop8ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies no t.pos')\n always (t.pos in Entry implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways (all t:Train |(t.pos.signal) in (Signal-Green) implies (some t.pos') and ((t.pos.signal) in Green))\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "6NE4ya3xSzBMNLAM9", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:28:32"} {"_id": "ygXpeYh8vmJBX6Pzb", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways (some s:Signal | (s in Green implies always (no (s & Green'))) or \n\t\t\tno (s & Green) implies always (some (s & Green')))\n\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "7ww6NXdhvHRh3P8nq", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-26 11:39:49"} {"_id": "PyGQjMCeg8rqTTG5H", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green \n}\n\n\npred prop3 {\n\t// Trains never move\n \n all t: Train, tk: Track | (t->tk in pos implies always t->tk in pos) and (t->tk not in pos implies always t->tk not in pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n always prox.~prox in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "e6ArToB9sgeZM5AJ2", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-25 23:15:57"} {"_id": "xJ7B3QtfioYErkBBY", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n \n all s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "2i8ypM6Zq8tzmQMb5", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-25 22:34:31"} {"_id": "4DPiwEdZaZ9GBMvqA", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tonce (all t:Entry | Green not in t.signal)\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "TdN2r5tsLYhfGEwHi", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-26 16:39:27"} {"_id": "spoJuHMFrs3KXLJYp", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways Signal & Green not in Signal & Green'\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\t\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "nQQGoyRnvNPckQKf9", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-8 01:42:17"} {"_id": "JQPZALKgQ5486TkjX", "cmd_c": true, "cmd_i": 6, "cmd_n": "prop7ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\tall t:Train{\n \t\talways( t.pos in Exit implies eventually no t.pos)\n \t\talways( t.pos in Entry implies eventually t.pos in t.pos.prox)\n \t}\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways ( all s : Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green) )\n}\n\n\npred prop7 {\n\t\n\talways ( all t:Train | some t.pos :> (Entry+Exit) implies eventually no t.pos :> (Entry+Exit) )\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "W7vwJ4BWpSC4vS4np", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:32:53"} {"_id": "d3wWWarYFNADjebXs", "cmd_c": true, "cmd_i": 10, "cmd_n": "prop11ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways ( all s : Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green) )\n}\n\n\npred prop7 {\n\t\n\talways ( all t:Train | some t.pos :> Track implies eventually no t.pos :> Track )\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal not in Green) implies t.pos' = t.pos )\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t\n\talways ( all j:Junction | lone ( (prox.j).signal & Green ) )\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n always ( all t:Train| some t.pos and historically t.pos in Entry)\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "8K3fS2CSucf6gzFXa", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:55:56"} {"_id": "i96MzdxcnSKrtAZnt", "cmd_i": 5, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways (all s:Signals | s in Green )\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "bG9TdtTuStzmny6mT", "msg": "There are 38 possible tokens that can appear here:\n! # ( * @ Int NAME NUMBER STRING String Time ^ after all always before disj eventually fun historically iden int let lone no none once one pred seq set some sum this univ { } ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 23:37:12"} {"_id": "xo2mkRRxFA62zsRvq", "cmd_i": 5, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways (all t : Train | t.pos = t.pos')\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (all t : Track | lone pos.t)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways Green' = Signal - Green\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n0\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Nn4y4BhQFveQMsHhB", "msg": "There are 5 possible tokens that can appear here:\nenum fun let open pred", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 16:26:43"} {"_id": "ARwSettjmRsCxpwbz", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall disj t1, t2 : Train | always t1.pos != t2.pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "yfETKH89rEKH365bS", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-12-17 00:16:15"} {"_id": "Zw6zTYkbpFkJgvnkd", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways no pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "FwCGymHmbqcziisH5", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-26 18:28:04"} {"_id": "BXCSuzYQBNpvjjcqX", "cmd_i": 3, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n\t\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (t1,t2:Train | no t1.pos = t2.pos)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "XPv47MDmaLMnybgbQ", "msg": "There are 1 possible tokens that can appear here:\n)", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-26 11:42:36"} {"_id": "6JqqFj7u7QewMzwMw", "cmd_i": 0, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tsignal not in Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "FwCGymHmbqcziisH5", "msg": "!in can be used only between 2 expressions of the same arity.\nLeft type = {this/Track->this/Signal}\nRight type = {this/Signal}", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 22:29:20"} {"_id": "pDrvEqozXJm2nqLD2", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t: Train | (before t.pos) = (after t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "nZWp3a5rTDSxBzxFY", "msg": "This expression failed to be typechecked line 46, column 25, filename=/tmp/alloy_heredoc6132415953032140386.als", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 22:40:16"} {"_id": "WdCR33X22wsfShXFh", "cmd_c": true, "cmd_i": 6, "cmd_n": "prop7ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t\n\talways (all s:Signal | always (s in Green) implies eventually (s not in Green ) or \n\t\t\t \t\t\talways s not in Green implies eventually (s in Green) )\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\talways (all t:Train | some (t.pos & Entry ) implies eventually some (t.pos & Exit) )\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "nYBNMEmyhKjjfCDxH", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 10:44:55"} {"_id": "3q9sKPwcQxa5oowHX", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \talways all t: Train | (t'.pos in t.prox) or (t.pos in Exit implies Train' = Train -t)\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Ca4MdN3BQWf6T5xdo", "msg": "The join operation here always yields an empty set.\nLeft type = {this/Train}\nRight type = {this/Track->this/Track}", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 23:26:18"} {"_id": "y7pmXsWT6Mb9P8G6N", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green \n}\n\n\npred prop3 {\n\t// Trains never move\n \n (Train->Track in pos implies always Train->Track in pos) and (Train->Track not in pos implies always Train->Track not in pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "RboSzLMEiKeX9yvQW", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 23:06:11"} {"_id": "fQP8g3mpPttWojuLz", "cmd_i": 5, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways (all s:Signals | (s in Green implies always (no (s & Green'))) or no (s & Green) implies always (some (s & Green')) )\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "tGngrvHr8KPskaQWc", "msg": "There are 38 possible tokens that can appear here:\n! # ( * @ Int NAME NUMBER STRING String Time ^ after all always before disj eventually fun historically iden int let lone no none once one pred seq set some sum this univ { } ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 23:35:34"} {"_id": "5fCeZSp6QKdX4CGJZ", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\teventually some Green&Signal\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "GwP78GdfJ3sKxfHiG", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-26 16:45:31"} {"_id": "8K3fS2CSucf6gzFXa", "cmd_c": true, "cmd_i": 10, "cmd_n": "prop11ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways ( all s : Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green) )\n}\n\n\npred prop7 {\n\t\n\talways ( all t:Train | some t.pos :> Track implies eventually no t.pos :> Track )\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal not in Green) implies t.pos' = t.pos )\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t\n\talways ( all j:Junction | lone ( (prox.j).signal & Green ) )\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "wDAea2jhCaJ8EZtY7", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2021-1-13 23:55:00"} {"_id": "XH7hHARLep4hgoTL2", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal - Green | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\t\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "gFzSzb9ibfdW94Bfz", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2021-1-13 21:30:27"} {"_id": "2i8ypM6Zq8tzmQMb5", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n historically eventually Signal in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "uLAWKdBEtKd5KpxGL", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 22:34:04"} {"_id": "zwgmKQQYks3wNLPLn", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n\t\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (all disj t1,t2:Train | t1.pos != t2.pos)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "YwfDX9xgFHYqEPZBZ", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-26 11:47:29"} {"_id": "GzdMB9PE2hrpQkiNW", "cmd_i": 8, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways( all t:Train | some t.pos :> Exit implies eventually (no t.pos) )\n\talways( all t:Train | some t.pos :> (Track-Exit) implies eventually (t.pos in t.pos.prox) )\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways ( all s : Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green) )\n}\n\n\npred prop7 {\n\t\n\talways ( all t:Train | some t.pos :> Track implies eventually no t.pos :> Track )\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal not in Green) implies t.pos' = t.pos )\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\talways ( all t:Train | no t.pos implies eventually (t.pos in Entry)\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "aDdZuuLH6SEsXp5gp", "msg": "There are 1 possible tokens that can appear here:\n)", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-13 23:12:50"} {"_id": "WP7ufoFgaaumcoJDN", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green \n}\n\n\npred prop3 {\n\t// Trains never move\n \n \n always pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n always pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "CnD28JMywubceo3T5", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-25 23:19:10"} {"_id": "DpKHqb47At4G2Zyby", "cmd_i": 9, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t all t:Train | some t.pos and (t.pos not in Entry implies before no t.pos and eventually ( some t.pos & Entry) )\n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | some prox.j and lone((prox.j).signal :> Green )\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "QS5PARL2AbgDhzQB2", "msg": "There are 1 possible tokens that can appear here:\n)", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-13 23:46:20"} {"_id": "FJarGHWnfz9qwr7k9", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green \n}\n\n\npred prop3 {\n\t// Trains never move\n always all t: Train, tk: Track | t->tk in pos implies always t->tk in pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "mckLa2gApeQ6TeGAz", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 22:48:01"} {"_id": "objite8hAypA2Dpk2", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n \t\n \tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t\n\talways (all s:Signal | always (s in Green) implies eventually (s not in Green ) or \n\t\t\t \t\t\talways s not in Green implies eventually (s in Green) )\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "zz3824hzkMkTnLBdB", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2021-1-13 21:22:40"} {"_id": "fQbHQXSpBKZvskvtH", "cmd_i": 3, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal - Green | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways(all t : Train | always (t.pos' = t.pos))\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t : Train | t.pos in iden \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "QnE3ayEGdF9ecBCMk", "msg": "in can be used only between 2 expressions of the same arity.\nLeft type = {this/Track}\nRight type = {univ->univ}", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-13 21:44:07"} {"_id": "dk5aAFbxeGjnfKHfL", "cmd_c": true, "cmd_i": 13, "cmd_n": "prop14ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\talways ( all t:Train | (some t.pos and one (t.pos.signal :>Green) )implies after (t.pos.signal in Signal-Green) )\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Wmnf67hkoJyM6yJB8", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 19:57:40"} {"_id": "wCMQTqdnfKxNneKvg", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal - Green | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways(all t : Train | always (t.pos' = t.pos))\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\t\n \talways (all disj t1,t2 : Train | no (t1.pos & t2.pos)) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n\t\n \t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\tall t : Track |always( t.signal' != t.signal)\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "bf5k3EnSFZQkihRTj", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:08:08"} {"_id": "CW8TAAqnwos7iE6Li", "cmd_i": 0, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\talways Signal not Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "FwCGymHmbqcziisH5", "msg": "This expression failed to be typechecked line 34, column 2, filename=/tmp/alloy_heredoc7381312047692491923.als", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-26 10:43:50"} {"_id": "yfETKH89rEKH365bS", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall disj t1, t2 : Train | always t1.pos != t2.pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "uKSr3eE9QG2FWw79C", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-12-17 00:16:12"} {"_id": "XxGMPEs5TqPfJiMxw", "cmd_i": 3, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n \talways all t1, t2: Train | lone tr1: Track | always (no t1.pos.tr1 & t2.pos.tr1)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "C2Wd6LnkcyW8o7szM", "msg": "This cannot be a legal relational join where\nleft hand side is <integer/pos[t1];t1 . (this/Train <: pos);> (type = {this/Track})\nright hand side is tr1 (type = {this/Track})", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-12-2 23:04:16"} {"_id": "RPbzcHq2Cb5o6HXL2", "cmd_i": 0, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tTrack.signal = Red\n }\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "ZXWn9bsAvbCc9ahBd", "msg": "The name \"Red\" cannot be found.", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-11 17:03:27"} {"_id": "MPQYSfh2TQex6RRsm", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n\t\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\t\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "3YLDRnZzNNxxeqmfZ", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-26 11:44:28"} {"_id": "so9B6XgRkdM6jxv2S", "cmd_i": 5, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways (all t : Train | t.pos = t.pos')\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (all t : Track | lone pos.t)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways (all s : Signal | \n \t\t \t\ts in Green implies eventually s not in Green or \n \t\t \t\ts not in Green implies s eventually s in Green\n\t\t\t)\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "p4aAm5xPt8FLrdbXC", "msg": "There are 1 possible tokens that can appear here:\n)", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 16:35:00"} {"_id": "dycmqtBQLJJXHavMs", "cmd_c": true, "cmd_i": 6, "cmd_n": "prop7ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t\n\talways (all s:Signal | always (s in Green) implies eventually (s not in Green ) or \n\t\t\t \t\t\talways s not in Green implies eventually (s in Green) )\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\talways (all t:Train | always some (t.pos & Entry ) implies eventually some (t.pos & Exit) )\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "ds8FxKRMHEYRXCp4A", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 10:41:58"} {"_id": "f6nrN6NNCagDekywF", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "FwCGymHmbqcziisH5", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-25 19:33:35"} {"_id": "FJfDE3m9ya9jbiExE", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s:Signal |eventually s in Green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "YWozLMBWhgHf3sXFP", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-12-16 18:36:33"} {"_id": "WfzCmS7qDvrJjsPMi", "cmd_c": true, "cmd_i": 14, "cmd_n": "prop15ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)'=t.pos) \n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways (all t:pos.Track | (t.pos)' in t.pos + t.pos.prox or (t.pos in Exit and (t.pos)' in t.pos))\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\talways (all t:pos.Track | eventually no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\talways (all j:Junction | lone (prox.j).signal & Green)\n \talways (lone (prox.Junction).signal & Green)\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\talways (all t:Train | some t.pos implies once t.pos in Entry) \n}\n\n\npred prop12 {\n\t\n\t\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\t\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\talways eventually (Train.pos)' != Train.pos \n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "wPMLMG9vWzQEbKSjc", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-1 21:20:10"} {"_id": "gTJHv66LkiLbqnqBq", "cmd_i": 5, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways (all s:Signals | s in Green implies always (no (s & Green') ))\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "qn3jYuKQdoNsgTzCJ", "msg": "There are 38 possible tokens that can appear here:\n! # ( * @ Int NAME NUMBER STRING String Time ^ after all always before disj eventually fun historically iden int let lone no none once one pred seq set some sum this univ { } ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 23:36:37"} {"_id": "Qaeeo7tdinLSHMZp5", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n }\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n}\n\n\npred prop3 {\n\t// Trains never move\n\t always(no Track.prox)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "qXP5b64d8M7cZYDnd", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-11 17:14:58"} {"_id": "QQnKXk2mkjExwcDYm", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal - Green | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways(all t : Train | always (t.pos' = t.pos))\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\t\n \talways (all disj t1,t2 : Train | no (t1.pos & t2.pos)) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n\t\n \t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways (all s : Signal | no (s & Green) implies s' = Green else s'!=Green)\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "ds7iQDekxHJ3Xm7hQ", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:11:24"} {"_id": "6NE4ya3xSzBMNLAM9", "cmd_c": true, "cmd_i": 7, "cmd_n": "prop8ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies no t.pos')\n always (t.pos in Entry implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\tall t:Train |(t.pos.signal) in (Signal-Green) implies (some t.pos') and ((t.pos.signal) in Green)\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "dTn4nqReQJPjBwySF", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:27:29"} {"_id": "xarjpkyKTgrt6sLHQ", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t\n\talways (all s:Signal | always (s in Green) implies eventually (s not in Green ) or \n\t\t\t \t\t\talways s not in Green implies eventually (s in Green) )\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "BsPtfpXa5oFyNHSSz", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2021-1-13 22:03:23"} {"_id": "HA86z9XBrsztm36St", "cmd_i": 5, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies no t.pos')\n always (t.pos in Entry implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\nalways (all s:Signal | eventually )\n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "JmPJ6k9dJgGDAe5Xb", "msg": "There are 37 possible tokens that can appear here:\n! # ( * @ Int NAME NUMBER STRING String Time ^ after all always before disj eventually fun historically iden int let lone no none once one pred seq set some sum this univ { ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-13 22:18:29"} {"_id": "nhPQ2rEDPfxeAAbNx", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways no Train & Track\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "LXcRtjScpGvT27hxg", "msg": "& is irrelevant because the two subexpressions are always disjoint.\nLeft type = {this/Train}\nRight type = {this/Track}", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-26 10:47:04"} {"_id": "CYLKy4ExqbErg4ozc", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\t \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\teventually(all t:Track | eventually t.signal = Green)\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "KHkyTz8MkYw8zQ6h2", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-28 15:51:30"} {"_id": "vwmeiCMJGN9tFKwvg", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)'=t.pos) \n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "4PJHC8s3eDWFW7AmN", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-12-1 20:49:21"} {"_id": "A6q6AfRhkNpeuy6Ar", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n always (all t:Train|(one t.pos:> Exit => no t.pos') or (one t.pos and some t.pos.prox => t.pos' in t.pos.prox ) )\n \n \n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "kZtKsSgR4cKuwhSQN", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 20:37:37"} {"_id": "mpETxnuZ9ZJahXhcu", "cmd_i": 8, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\talways ( all t:Train | eventually t.pos in Entry\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "kT9bqFLLfYKjFdMet", "msg": "There are 1 possible tokens that can appear here:\n)", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-13 23:10:23"} {"_id": "MeagNhPSQKCvnvqG9", "cmd_i": 3, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n }\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n}\n\n\npred prop3 {\n\t// Trains never move\n\t\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t : Train | always (lone.t)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "YBunAS6QqN8eeNomW", "msg": "There are 29 possible tokens that can appear here:\n# ( * @ Int NAME NUMBER STRING String Time ^ all disj fun iden int let lone no none one pred seq some sum this univ { ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-11 17:22:59"} {"_id": "B9jTy46hmxJxqX4uf", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal - Green | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways(all t : Train | always (t.pos' = t.pos))\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\t\n \talways (all disj t1,t2 : Train | no (t1.pos & t2.pos)) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "ekMgMNdd6NGTr2zB9", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2021-1-13 21:45:11"} {"_id": "KbgMNzmNJParn78oZ", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t : Track | always lone t.~pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways all t : Train {\n \t((t.pos = Exit) implies (no t.pos'))\n \t\t or\n (t.pos' in t.pos.prox)\n \t}\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\tall t : Track | always ((some t.signal) implies (t.signal != t.signal'))\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Kr44ZJpFHKXW6XZfP", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-17 00:36:11"} {"_id": "h6DQuqiPfJRHHr9Zz", "cmd_c": true, "cmd_i": 14, "cmd_n": "prop15ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\t always eventually (some pos =>(pos != pos'))\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "fKJfaSoy9B2JMshyB", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 19:47:01"} {"_id": "q7PvvFp4zTKsG4TAZ", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\tall t : Train | always t.pos = t.pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\t\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "jatGGNqfz5wDBDMF7", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-12-8 01:14:17"} {"_id": "S3FrRJJgR4gJTnoyH", "cmd_c": true, "cmd_i": 7, "cmd_n": "prop8ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways (all t:Train |(t.pos.signal) in (Signal-Green) implies (some t.pos') implies ((t.pos'.signal) in Green))\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "tc9uuoN93z8oysXue", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:48:10"} {"_id": "dhQDJ8gs6R989NwPS", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\talways all s: Signal | eventually Signal = Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "AAR8nvgwzTWGgp6Rv", "msg": "This variable is unused.", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 22:25:40"} {"_id": "se4DAESG95PdyeBnR", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green \n}\n\n\npred prop3 {\n\t// Trains never move\n \n always ((Train->Track in pos implies always Train->Track in pos) and (Train->Track not in pos implies always Train->Track not in pos))\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "pGskLeNeWijxttKdo", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 23:05:12"} {"_id": "fHvXpsEWhwQWTA5jp", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "8AwMPktgZWFhQvL4m", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-25 22:32:22"} {"_id": "PFw9qgdM8AR4ACKP7", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways all s : Signal | s in Green implies s' not in Green\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "CPRbeqYYqqxGnbfiS", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 23:10:33"} {"_id": "EFCq8ykToFvKqyax8", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos'=t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "pJh77yXjtxM5avoN5", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-8 04:41:56"} {"_id": "hYvKpkGRP8LY4gyJf", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n \talways all t1, t2: Train | always (no t1.pos & t2.pos)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "5xh7eq5PJxHhnuJHb", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 23:05:33"} {"_id": "kvsZSk8t6whPTDrff", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways (all t : Train | t.pos = t.pos')\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (all t : Track | lone pos.t)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways (all s : Signal | s in Green implies eventually s not in Green or \n \t\t \t\ts not in Green implies eventually s in Green)\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "FgGkJyYLAD8T8hAh7", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 16:38:16"} {"_id": "ihNywd3jgr2ZYtgxZ", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\t once (Signal = Green)\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "8xGvEqLK3XxBWZuQQ", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-28 15:48:08"} {"_id": "zQBqtkP2b4WiJ3hac", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green \n}\n\n\npred prop3 {\n\t// Trains never move\n always all t: Train, tk: Track | t->tk in pos implies always t->tk in pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "8ucmjKZdhemwxTZaf", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 23:01:57"} {"_id": "Hz9mYKfP7vGCQFAGY", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green \n}\n\n\npred prop3 {\n\t// Trains never move\n \n \n always pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n always pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n always all t: Train | no t.pos & Exit implies t.pos' in t.pos + t.pos.prox\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "WeEGLxrevpKie8Rkb", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 23:27:54"} {"_id": "i7fJCAS7x2bLTKSqE", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n always (all t:Train|(one t.pos:> Exit => no t.pos') \n\t\tor (one t.pos and some t.pos.prox => t.pos' in t.pos.prox ) \n\t\tor no t.pos.prox => (no t.pos' or t.pos=t.pos') )\n \n \n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "WS8yq4WhSHntFYHSN", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 20:40:06"} {"_id": "98AmQjMYQpv82X7RS", "cmd_c": true, "cmd_i": 7, "cmd_n": "prop8ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways( all t:Train | some t.pos :> Exit implies eventually (no t.pos) )\n\talways( all t:Train | some t.pos :> (Track-Exit) implies eventually (t.pos in t.pos.prox) )\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways ( all s : Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green) )\n}\n\n\npred prop7 {\n\t\n\talways ( all t:Train | some t.pos :> Track implies eventually no t.pos :> Track )\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all tk:Track | some tk.signal and (tk.signal in Green) implies ( #pos.tk' = #pos.tk ) ) \n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "bB5tDmtvy7Knm2z96", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:59:38"} {"_id": "At8GQvxyedzhrsEnK", "cmd_c": true, "cmd_i": 6, "cmd_n": "prop7ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)'=t.pos) \n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways (all t:pos.Track | (t.pos)' in t.pos + t.pos.prox or (t.pos in Exit and (t.pos)' in t.pos))\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\talways (all t:pos.Track | eventually no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "K49LPBuHjmSFiyXWp", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-12-1 20:54:49"} {"_id": "758CgPsei3BbcmE6j", "cmd_c": true, "cmd_i": 14, "cmd_n": "prop15ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (pos.(~pos) in iden)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\talways (all j:Junction | lone ((prox.j).signal&Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\tall t:Train | one t.pos implies eventually (t.pos)' != t.pos\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\t\n}", "derivationOf": "ZgfkWyjovTLx33TbN", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 19:53:01"} {"_id": "vW8LSXCJMEfx6zE6s", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies no t.pos')\n always (t.pos in Track implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways (all t:Train |(t.pos.signal) in (Signal-Green) implies (some t.pos') and ((t.pos.signal) in Green))\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "HoDwegKS9TAmfibt9", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:37:52"} {"_id": "fFzFJSz5Ecbw9SwAu", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n\t\n \n \n \t\n \t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways ( all s : Signal { s in Green => s' not in Green\n \t\t\t\t\t\t\t s not in Green => s' in Green\n \t\t\t\t\t\t\t}\n \t\t\t)\n}\n\n\npred prop7 {\n\t\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "5Y9HN6sNbN4gJj7PT", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:20:36"} {"_id": "7w4dWMiLvmAvXTT4W", "cmd_c": true, "cmd_i": 7, "cmd_n": "prop8ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways( all t:Train | some t.pos :> Exit implies eventually (no t.pos) )\n\talways( all t:Train | some t.pos :> (Track-Exit) implies eventually (t.pos in t.pos.prox) )\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways ( all s : Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green) )\n}\n\n\npred prop7 {\n\t\n\talways ( all t:Train | some t.pos :> Track implies eventually no t.pos :> Track )\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some s:Signal | (some (t.prox).signal :> s) and (s not in Green) implies t.pos' = t.pos)\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "L2JvJaSGK8uC5hN6N", "msg": "The join operation here always yields an empty set.\nLeft type = {this/Train}\nRight type = {this/Track->this/Track}", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:48:45"} {"_id": "3ipKf68NzCAzfYQwq", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\tall t:Train {\n \t\tt.pos in Exit => t.pos' = t.pos - t.pos\n \tt.pos in (Track - Exit) => {\n \t\tone tk:((t.pos).prox) | t.pos' = tk\n \t}\n \t} \n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "CCtwQfbBSvDHgtTtM", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 21:48:43"} {"_id": "hZbWQyTNN5WSK4BLm", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\t no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "G6CvGoXN9syAbCueN", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2021-1-13 21:21:07"} {"_id": "oWcQrd3oipeD3fGKd", "cmd_c": true, "cmd_i": 6, "cmd_n": "prop7ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\talways all t : Train | eventually t.pos != t.pos'\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\t\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "dWh6pz2Fhkp2d23Xx", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-8 01:28:38"} {"_id": "7CaJQTPPPNXt8Bdd7", "cmd_c": true, "cmd_i": 7, "cmd_n": "prop8ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways( all t:Train | some t.pos :> Exit implies eventually (no t.pos) )\n\talways( all t:Train | some t.pos :> (Track-Exit) implies eventually (t.pos in t.pos.prox) )\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways ( all s : Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green) )\n}\n\n\npred prop7 {\n\t\n\talways ( all t:Train | some t.pos :> Track implies eventually no t.pos :> Track )\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\tall t:Train | some t.pos.signal and t.pos.signal in Green implies t.pos' = t.pos\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Tfk5wzPMoGaqNdmFC", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:04:40"} {"_id": "vvtwsLy4xhshfDunX", "cmd_c": true, "cmd_i": 6, "cmd_n": "prop7ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies no t.pos')\n always (t.pos in Entry implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways (all t:Train |(t.pos.signal) in (Signal-Green) implies (some t.pos') and ((t.pos.signal) in Green))\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "CNPCDh7AfJ73yxvkB", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2021-1-13 22:35:02"} {"_id": "pWGorWk9r36QD9txp", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\t(some s:Signal | s in Green) since (historically (all s:Signal | s not in Green)) \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t (all s:Signal | eventually s in Green)\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "c24ZPpw9KEqGvkXKL", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-28 15:57:08"} {"_id": "tduXtQx6pXr4Qtkkz", "cmd_i": 1, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n \n all s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n always all t : Train | (t.pos = after t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "nX8jsENLPfFnurjBo", "msg": "There are 29 possible tokens that can appear here:\n# ( * @ Int NAME NUMBER STRING String Time ^ all disj fun iden int let lone no none one pred seq some sum this univ { ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 22:47:44"} {"_id": "qBPfmDsynqfJqMdgj", "cmd_i": 8, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n (all t:Train| no t.pos => after ( one t.pos':>Entry)) )\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "MMeJKZek5MvuksFa3", "msg": "There are 38 possible tokens that can appear here:\n! # ( * @ Int NAME NUMBER STRING String Time ^ after all always before disj eventually fun historically iden int let lone no none once one pred seq set some sum this univ { } ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-16 20:32:00"} {"_id": "cEKCKmM7P4WqBgRkM", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n \t\n \tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways (all t:Train |t.pos in Entry implies (t.pos'in (t.pos.^prox) ) or t.pos in Exit implies no t.pos')\n}\n\n\npred prop6 {\n\t\n\talways (all s:Signal | always (s in Green) implies eventually (s not in Green ) or \n\t\t\t \t\t\talways s not in Green implies eventually (s in Green) )\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "9499kQBpe9eJ8govP", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 21:49:02"} {"_id": "quQgzHBvMMKNTgAYW", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t : Track | always lone t.~pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n \t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\t\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n \n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "FwCGymHmbqcziisH5", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2021-1-7 10:10:36"} {"_id": "TZDhh2rLQJE4JGmoe", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\teventually Signal in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "GMAtGrioWi3y8YFKz", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-8 04:29:46"} {"_id": "frZfxBWAbZ9hSH5rz", "cmd_c": true, "cmd_i": 9, "cmd_n": "prop10ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways ( all s : Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green) )\n}\n\n\npred prop7 {\n\t\n\talways ( all t:Train | some t.pos :> Track implies eventually no t.pos :> Track )\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal not in Green) implies t.pos' = t.pos )\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t\n\talways ( all j:Junction | lone ( (prox.j).signal & Green ) )\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "LqST95yX5Z9kBFTFQ", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2021-1-13 23:46:39"} {"_id": "Sfam7cFBYCY4afxwf", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n \t\n \tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways (all t:Train |t.pos in Entry implies (t.pos'in (t.pos.^prox) ) or t.pos in Exit implies no t.pos')\n}\n\n\npred prop6 {\n\t\n\talways (all s:Signal | always (s in Green) implies eventually (s not in Green ) or \n\t\t\t \t\t\talways s not in Green implies eventually (s in Green) )\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "9yRsju72TtAMiB78g", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 21:44:59"} {"_id": "2RD3BKdMPMoPjw2vQ", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t ( all t:Train |no t.pos implies eventually ( some t.pos and t.pos in Entry) )\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "YvwiiQG7Yu7SwEDRj", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:28:20"} {"_id": "ZAmrHHBWaByuRJFPT", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal - Green | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways (no Train.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "McdHrMRfkjfk8WSbr", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 21:31:25"} {"_id": "8GEdnrYPDuux58qGb", "cmd_i": 4, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal - Green | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways(all t : Train | always (t.pos' = t.pos))\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\t\n \talways (all disj t1,t2 : Train | no (t1.pos & t2.pos)) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\tall t : Train | no (t.pos & Exit) implies (t.pos' & t.pos.prox)\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "xTFMJE5yRyRp9sadk", "msg": "This must be a formula expression.\nInstead, it has the following possible type(s):\n{this/Track}", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-13 21:57:37"} {"_id": "XXiFxKYrgScjSMzbQ", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\t\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways all t : Train, p : t.pos | (t.pos)' in p.prox\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "c3hCdbTTjAyTw7pLP", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-5 00:21:40"} {"_id": "PWCJcnms843QPTf3R", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\t(some s:Signal | s in Green) since (historically (all s:Signal | s not in Green)) \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t (all s:Signal | eventually s in Green)\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways( no t:Track | t in t.prox or t in prox.t)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "qTAJNXWaioBgFvzw3", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-28 15:58:56"} {"_id": "uZ98cLjPYuNLSvrLs", "cmd_c": true, "cmd_i": 13, "cmd_n": "prop14ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\talways ( all t:Train | (some t.pos and one (t.pos.signal :>Green) )implies (t.pos.signal in Signal-Green) )\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "o7sNEfGK2ow78R8tu", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 19:51:01"} {"_id": "bgLxxrGeYitwk9DXH", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "BZgiBiJPHhKeTynYr", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 23:22:39"} {"_id": "L2JvJaSGK8uC5hN6N", "cmd_c": true, "cmd_i": 7, "cmd_n": "prop8ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways( all t:Train | some t.pos :> Exit implies eventually (no t.pos) )\n\talways( all t:Train | some t.pos :> (Track-Exit) implies eventually (t.pos in t.pos.prox) )\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways ( all s : Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green) )\n}\n\n\npred prop7 {\n\t\n\talways ( all t:Train | some t.pos :> Track implies eventually no t.pos :> Track )\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | no t.pos.signal :> Green implies t.pos' = t.pos )\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "tFiZtXRfw2eSwWYBN", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:46:50"} {"_id": "fyZoXmPN8T6W6y5XD", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways Entry in Trains.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "megMfkHgFGYxLn44b", "msg": "The name \"Trains\" cannot be found.", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-12-5 00:10:34"} {"_id": "cS5wtKgGkFoL3X23a", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\tall t : Train | t.pos = t.pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (all t : Track | lone pos.t)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "RcLisScW3x5izDFF8", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-25 16:08:01"} {"_id": "iyeFBBPDHr2zATriH", "cmd_c": true, "cmd_i": 6, "cmd_n": "prop7ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t : Track | always lone t.~pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways all t : Train {\n \t((t.pos = Exit) implies (no t.pos'))\n \t\t or\n (t.pos' in t.pos.prox)\n \t}\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n \t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\teventually all t : Train | t.pos = Exit\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "AxxguuqojH2SbicrZ", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-17 00:38:05"} {"_id": "eKoPYYRkqs2xWgD6u", "cmd_i": 10, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\talways ( all t:Train| some t.pos implies once some t.pos = Entry) \n \n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Fi77xNCE6MAPX5roq", "msg": "= can be used only between 2 expressions of the same arity, or between 2 integer expressions.\nLeft type = {PrimitiveBoolean}\nRight type = {this/Track}", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-13 23:57:51"} {"_id": "RboSzLMEiKeX9yvQW", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green \n}\n\n\npred prop3 {\n\t// Trains never move\n \n Train->Track in pos implies always Train->Track in pos and Train->Track not in pos implies always Train->Track not in pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "se4DAESG95PdyeBnR", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 23:05:57"} {"_id": "5zsipsMGAc32X2a3k", "cmd_c": true, "cmd_i": 9, "cmd_n": "prop10ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t all t:Train | some t.pos and (t.pos not in Entry implies before no t.pos and eventually ( some t.pos & Entry) )\n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Na4tStagWp4fkdZ7e", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2021-1-13 23:48:43"} {"_id": "qK6xRzqGgrJ4Lkv3j", "cmd_c": true, "cmd_i": 14, "cmd_n": "prop15ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)'=t.pos) \n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways (all t:pos.Track | (t.pos)' in t.pos + t.pos.prox or (t.pos in Exit and (t.pos)' in t.pos))\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\talways (all t:pos.Track | eventually no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\talways (all j:Junction | lone (prox.j).signal & Green)\n \talways (lone (prox.Junction).signal & Green)\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\talways (all t:Train | some t.pos implies once t.pos in Entry) \n}\n\n\npred prop12 {\n\t\n\t\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\t\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\talways eventually (some Train implies ((Train.pos)' != Train.pos))\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "W2Lb3GbSmg5fPAjM5", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-1 21:21:29"} {"_id": "GwP78GdfJ3sKxfHiG", "cmd_i": 1, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\teventually all Green&Signal\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Ck7Hbowt7fdeumMTv", "msg": "The \"all x\" construct is no longer supported. If you know the range of possible values of x, consider rewriting it as \"x == set_of_all_possible_values\".", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-26 16:45:26"} {"_id": "52aEXwi2o2aaDcWQ4", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (pos.(~pos) in iden)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\talways (all t:Train | some t.pos implies eventually no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\talways (all j:Junction | lone ((prox.j).signal&Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n \t\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\t\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\t\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\t\n}", "derivationOf": "ieCRL3SY2dMNtQ96F", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-29 14:38:22"} {"_id": "nZWp3a5rTDSxBzxFY", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t: Train | (before t.pos) = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "wavPrL8GhsmGQEbpp", "msg": "This expression failed to be typechecked line 46, column 25, filename=/tmp/alloy_heredoc14500444576090118059.als", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 22:40:00"} {"_id": "Ho7tjxbJ5NQsGKe5a", "cmd_i": 3, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n always all t: Train | always one Train.pos in Track\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "CBMjudLFGZogZizvL", "msg": "This must be a set or relation.\nInstead, it has the following possible type(s):\n{PrimitiveBoolean}", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-12-2 22:39:29"} {"_id": "st4d7iqBpHcu4XDnG", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "35FLhpzbCjDnsbQn2", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-25 23:00:24"} {"_id": "D9kia7oDFxNuQY69o", "cmd_c": true, "cmd_i": 10, "cmd_n": "prop11ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\talways ( all t:Train| some t.pos and historically t.pos in Entry) \n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "txb2xExEZxktdpX2G", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:55:59"} {"_id": "p2MseW7SZrqTv28xi", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n always (all t:Train| eventually (some t.pos:>Entry ))\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "QQKPrRJsb5cztyym8", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 20:20:36"} {"_id": "hF5vpem84dxwo2y2o", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways( all t:Train | some t.pos :> Exit implies eventually (no t.pos) )\n\talways( all t:Train | some t.pos :> (Track-Exit) implies eventually (t.pos in t.pos.prox) )\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways ( all s : Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green) )\n}\n\n\npred prop7 {\n\t\n\talways ( all t:Train | some t.pos :> Track implies eventually no t.pos :> Track )\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal not in Green) implies t.pos' = t.pos )\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\talways ( all t:Train | eventually (no t.pos until t.pos in Entry))\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "CvoYdJLu96ZkaxXji", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:15:23"} {"_id": "AYTrM6dnXZErnYg5v", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n }\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n}\n\n\npred prop3 {\n\t// Trains never move\n\t\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tlone Train.pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "4xvgeGcrMRYpZ7TrD", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-11 17:21:34"} {"_id": "vnTCNneyQfRHQw63D", "cmd_i": 16, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \t\talways ( one pos => Train.pos:>Exit )\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "99Lkopwvsr4QjBixe", "msg": "This must be a formula expression.\nInstead, it has the following possible type(s):\n{this/Track}", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-16 20:15:38"} {"_id": "AZne5Qktha3d5NEqj", "cmd_c": true, "cmd_i": 6, "cmd_n": "prop7ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\t\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\tall t : Train | always (eventually t.pos not in Entry + Exit)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "dkHGCXPEySQtPBx68", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-5 00:30:59"} {"_id": "usqbZeJGujCAMvExw", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\tall t : Train | t.pos = t.pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (all t : Track | lone pos.t)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "6zcX4s9m33hXWABjF", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 16:13:13"} {"_id": "ZPPhK6cWh8oYcQjfj", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green \n}\n\n\npred prop3 {\n\t// Trains never move\n \n all t: Train, tk: Track | (t->tk in pos implies always t->tk in pos) and (t->tk not in pos implies always t->tk not in pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n always prox.~prox in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "PyGQjMCeg8rqTTG5H", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 23:16:00"} {"_id": "hMtoGtPKo9F8wZgaA", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n \t\n \tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n all t:Train |{\n \talways (t.pos in Exit implies t.pos'=none)\n \t\n }\n \t\n}\n\n\npred prop6 {\n\t\n\talways (all s:Signal | always (s in Green) implies eventually (s not in Green ) or \n\t\t\t \t\t\talways s not in Green implies eventually (s in Green) )\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "wuBidrmMDkzb2PwXQ", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 21:55:32"} {"_id": "wQ7Zn2W9fLLBNuihb", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\t\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways all t : Train, p : t.pos | (t.pos)' in p.prox || Exit in p.prox\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "8Wtwdr5FoLWjyvz9p", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-5 00:23:48"} {"_id": "rrGWb4fYGConxAvZi", "cmd_c": true, "cmd_i": 16, "cmd_n": "prop17ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "8uNJw2g3is8E4DgxY", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 20:14:50"} {"_id": "CqMALrtHXgGv85ica", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n no Green\n\t// Intially all signals are red\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s : Signal | eventually s in Green\n\n}\n\n\npred prop3 {\n // Trains never move\n always pos' = pos\n}\n\n\npred prop4 {\n\talways t1: Train | t2: Train | some t1.pos & t2.pos implies t1 = t2\n // There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "4osG5uqF6NSjFzPqR", "msg": "There are 38 possible tokens that can appear here:\n! # ( * @ Int NAME NUMBER STRING String Time ^ after all always before disj eventually fun historically iden int let lone no none once one pred seq set some sum this univ { } ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-12-2 22:54:57"} {"_id": "iYPJBK7JRuLBkfWuy", "cmd_i": 4, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\teventually always t.pos !=t.pos'\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "c2KP4fitpQvH9ZJht", "msg": "The name \"t\" cannot be found.", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-16 19:42:57"} {"_id": "ru49rW22AYZALknar", "cmd_i": 5, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways (all t : Train | t.pos = t.pos')\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (all t : Track | lone pos.t)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways all s : Signal | \n \t\t \t\t(s in Green implies (eventually s not in Green)) or \n \t\t \t\t(s not in Green implies s eventually s in Green)\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "gcDogHQvKwP3wHLau", "msg": "There are 1 possible tokens that can appear here:\n)", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 16:34:20"} {"_id": "mJkG64KYSzoqNjFuC", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies no t.pos.prox')\n \n }\n}\n\n\npred prop6 {\n\t\n\talways (all s:Signal | always (s in Green) implies eventually (s not in Green ) or \n\t\t\t \t\t\talways s not in Green implies eventually (s in Green) )\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "rNs4S6JLtxvXjGmDG", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:06:36"} {"_id": "DhStsWnAmGW9oMKMA", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t : Track | always lone t.~pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways all t : Train {\n \t((t.pos = Exit) implies (no t.pos'))\n \t\t or\n (t.pos' in t.pos.prox)\n \t}\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "92hpzyEgnN6zq2Jfb", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-17 00:27:49"} {"_id": "Ejwr5YB3gvWBnakEv", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\tall t:Train {\n \t\tt.pos in Exit => no t.pos'\n \tt.pos not in Exit => some tk : ((t.pos).prox) | t.pos' = tk\n \t} \n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "JjccXjAbx6dWkZrjE", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 21:43:24"} {"_id": "tFiZtXRfw2eSwWYBN", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways( all t:Train | some t.pos :> Exit implies eventually (no t.pos) )\n\talways( all t:Train | some t.pos :> (Track-Exit) implies eventually (t.pos in t.pos.prox) )\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways ( all s : Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green) )\n}\n\n\npred prop7 {\n\t\n\talways ( all t:Train | some t.pos :> Track implies eventually no t.pos :> Track )\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "K3kqsbyRZGhMy4RGN", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:38:06"} {"_id": "9mevcvdhrhHjpkTAx", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n Train.pos' = Train.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "wMwzKWELdXN6oBX4P", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-26 10:52:25"} {"_id": "FBFv8QEeFDcfgdsb9", "cmd_c": true, "cmd_i": 10, "cmd_n": "prop11ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\talways ( all t:Train| some t.pos implies once ( some t.pos and t.pos in Entry) )\n \n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "iFDi8ZsKBw76u6CHF", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2021-1-13 23:59:43"} {"_id": "8hjG67FqZkzEBSptP", "cmd_i": 7, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (pos.(~pos) in iden)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n \talways (all s:Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green))\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\talways (all t:pos.Track | eventually no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:pos.Track.(Signal-Green) | t.pos=(t.pos)' until t.pos.signal in Green )\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\talways (all j:Junction | lone ((prox.j).signal&Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n \t\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\t\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\t\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\t\n}", "derivationOf": "FnDeSMWSfG5kXrJwa", "msg": "This cannot be a legal relational join where\nleft hand side is <integer/pos[];(this/Train <: pos);> . this/Track (type = {this/Train})\nright hand side is this/Signal - this/Green (type = {this/Signal})", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-29 14:55:38"} {"_id": "99Lkopwvsr4QjBixe", "cmd_i": 16, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \t\t ( one (Train.pos) => Train.pos:>Exit )\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "rrGWb4fYGConxAvZi", "msg": "This must be a formula expression.\nInstead, it has the following possible type(s):\n{this/Track}", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-16 20:14:55"} {"_id": "x5APBbTtespiYBexf", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t: Train | always t in one Track\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "kpLaCdcCY4CHz7ns7", "msg": "There are 29 possible tokens that can appear here:\n# ( * @ Int NAME NUMBER STRING String Time ^ all disj fun iden int let lone no none one pred seq some sum this univ { ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-12-2 22:28:43"} {"_id": "pJh77yXjtxM5avoN5", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos'=t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "e7hw57NGghhfmJcEy", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2021-1-8 04:41:53"} {"_id": "ZgfkWyjovTLx33TbN", "cmd_c": true, "cmd_i": 14, "cmd_n": "prop15ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (pos.(~pos) in iden)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\talways (all j:Junction | lone ((prox.j).signal&Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\tall t:Train | eventually (t.pos)' != t.pos\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\t\n}", "derivationOf": "pkZyHanaNE5YZgAxc", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 19:52:11"} {"_id": "dkHGCXPEySQtPBx68", "cmd_c": true, "cmd_i": 6, "cmd_n": "prop7ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\t\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\tall t : Train | always (eventually t.pos not in Entry)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "kwNi58SGbu9f9BogJ", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-5 00:30:46"} {"_id": "CpbhxkuaqRoQyJTqa", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n no Green\n\t// Intially all signals are red\n\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "2KL3Mx4HJPgs7DvJG", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-12-2 22:34:18"} {"_id": "wryTtWhCqbRqihy8y", "cmd_c": true, "cmd_i": 12, "cmd_n": "prop13ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\t ( all t:Train | no t.pos since no t.pos)\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "4pcEsdsftfXJ3L6aD", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 19:41:56"} {"_id": "rZ5EHxr25F2hz2bz7", "cmd_c": true, "cmd_i": 14, "cmd_n": "prop15ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\talways ( all t:Train | eventually (some t.pos and one (t.pos.signal :>Green) and t.pos' !=t. pos and some t.pos') implies (t.pos.signal in Signal-Green) )\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually pos!=pos' \n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "9W46gziWPXvChcsvD", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 20:02:38"} {"_id": "LXcRtjScpGvT27hxg", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways no Train\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Am9kKwQTTC5G2jGfP", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-26 10:46:13"} {"_id": "ZtS8SHFp39QYnvWXx", "cmd_i": 13, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)'=t.pos) \n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways (all t:pos.Track | (t.pos)' in t.pos + t.pos.prox or (t.pos in Exit and (t.pos)' in t.pos))\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\talways (all t:pos.Track | eventually no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\talways (all j:Junction | lone (prox.j).signal & Green)\n \talways (lone (prox.Junction).signal & Green)\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\talways (all t:Train | some t.pos implies once t.pos in Entry) \n}\n\n\npred prop12 {\n\t\n\t\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\t\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\talways (all t:(pos.Track).signal.Green | eventually ((t.pos)' != t.pos and after t.pos.signal not in Green))\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "JpQTrqN3LHz2qG2QN", "msg": "There are 38 possible tokens that can appear here:\n! # ( * @ Int NAME NUMBER STRING String Time ^ after all always before disj eventually fun historically iden int let lone no none once one pred seq set some sum this univ { } ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-12-1 21:18:42"} {"_id": "meA3DhzNnrW7iMGtn", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\tall t:Train {\n \t\tt.pos in Exit => no t.pos'\n \tt.pos not in Exit => {\n \t\tone tk:((t.pos).prox) | t.pos' = tk\n \t}\n \t} \n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Ejwr5YB3gvWBnakEv", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 21:44:16"} {"_id": "93FQEYWq9aq9Kkw4J", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "FwCGymHmbqcziisH5", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-12-17 00:03:55"} {"_id": "BBCv6yFThuSFvZZsJ", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tall t:Track | once t.signal != Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "FwCGymHmbqcziisH5", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-26 16:31:12"} {"_id": "KB5TKbH9RPEqRzEeh", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n \t\n \tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n all t:Train |{\n \talways (t.pos in Exit implies no t.pos')\n \talways (t.pos in Track-Exit implies (t.pos'in (t.pos.prox) )) \n }\n \t\n}\n\n\npred prop6 {\n\t\n\talways (all s:Signal | always (s in Green) implies eventually (s not in Green ) or \n\t\t\t \t\t\talways s not in Green implies eventually (s in Green) )\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "dhZ8DPf47YBj42XdB", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:00:09"} {"_id": "M2RxcPshuMNtLDhAY", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways (all s:Signal | (s in Green implies always (no (s & Green'))) or \n\t\t\tno (s & Green) implies always (some (s & Green')))\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "SddwhWPPAhz3gQwPE", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-26 11:47:00"} {"_id": "BC72eXpKW48pHYReK", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways all t : Train | t.pos' in t.pos.next\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\t\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "oWcQrd3oipeD3fGKd", "msg": "The join operation here always yields an empty set.\nLeft type = {this/Track}\nRight type = {Int->Int}", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-8 01:29:53"} {"_id": "NxoNdQLLYgoREQdrg", "cmd_i": 6, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (pos.(~pos) in iden)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways (all t:pos.Track | (t.pos)' in t.pos.next\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\talways (all t:pos.Track | eventually no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\talways (all j:Junction | lone ((prox.j).signal&Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n \t\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\t\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\t\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\t\n}", "derivationOf": "52aEXwi2o2aaDcWQ4", "msg": "There are 1 possible tokens that can appear here:\n)", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-29 14:49:44"} {"_id": "rB5pze2z53wycyBpJ", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways (all t : Train | t not in Track)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "nhPQ2rEDPfxeAAbNx", "msg": "Subset operator is redundant, because the left and right subexpressions are always disjoint.\nLeft type = {this/Train}\nRight type = {this/Track}", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-26 10:50:49"} {"_id": "33DPcw2SeKyFTgsT8", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos')\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways (all t:Train |(t.pos.signal) in (Signal-Green) implies (some t.pos') and ((t.pos.signal) in Green))\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "WTJkpfWPBsZzwmARH", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:39:04"} {"_id": "jHfq8C6brgGFcQpbQ", "cmd_i": 5, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways (all t : Train | t.pos = t.pos')\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (all t : Track | lone pos.t)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways all s : Signal { \n \t\t \t\ts in Green implies eventually s not in Green or \n \t\t \t\ts not in Green implies s eventually s in Green\n\t\t\t}\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "so9B6XgRkdM6jxv2S", "msg": "This must be a formula expression.\nInstead, it has the following possible type(s):\n{this/Signal}", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 16:35:25"} {"_id": "BwtipzbCzgeTEGRY6", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\tall t:Train | always t.pos'=t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall disj t1,t2:Train | always no (t1.pos & t2.pos)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "gDhLpTuB3GmghvKnS", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2021-1-8 04:33:15"} {"_id": "tR6bX5WLM8EjziXte", "cmd_c": true, "cmd_i": 15, "cmd_n": "prop16ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)'=t.pos) \n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways (all t:pos.Track | (t.pos)' in t.pos + t.pos.prox or (t.pos in Exit and (t.pos)' in t.pos))\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\talways (all t:pos.Track | eventually no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\talways (all j:Junction | lone (prox.j).signal & Green)\n \talways (lone (prox.Junction).signal & Green)\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\talways (all t:Train | some t.pos implies once t.pos in Entry) \n}\n\n\npred prop12 {\n\t\n\t\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\t\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\talways (all t:pos.Track | eventually (t.pos)' != t.pos)\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:pos.Exit | (historically some t.pos) since t.pos in Entry)\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "7XPCCk95MDKd2fz3n", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-1 21:25:19"} {"_id": "j6t4WZAoB5RDigyZb", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways( all t:Train | some t.pos :> Exit implies eventually (no t.pos) )\n\talways( all t:Train | some t.pos :> (Track-Exit) implies eventually (t.pos in t.pos.prox) )\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways ( all s : Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green) )\n}\n\n\npred prop7 {\n\t\n\talways ( all t:Train | some t.pos :> Track implies eventually no t.pos :> Track )\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal not in Green) implies t.pos' = t.pos )\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\talways ( all t:Train | historically no t.pos and eventually t.pos in Entry )\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "F3wJw2ffaFpbrhZcF", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:10:21"} {"_id": "yT4iE3jWrGtqwJb26", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\tall t : Train | always t.pos in Entry or always t.pos in Exit\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\t\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "EgrWjQcRFk5XM6HBK", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-8 01:10:42"} {"_id": "HoDwegKS9TAmfibt9", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies no t.pos')\n always (t.pos in Track implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways (all t:Train |(t.pos.signal) in (Signal-Green) implies (some t.pos') and ((t.pos.signal) in Green))\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "RB64xqjjdfmfEEMhA", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:37:44"} {"_id": "v7f5dzHqrGvmNr9Xj", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways( all tk : Track | lone pos.tk )\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways( all t:Train | some t.pos :> Exit implies eventually (no t.pos) )\n\talways( all t:Train | some t.pos :> (Track-Exit) implies eventually (t.pos in t.pos.prox) )\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways ( all s : Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green) )\n}\n\n\npred prop7 {\n\t\n\talways ( all t:Train | some t.pos :> Track implies eventually no t.pos :> Track )\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal not in Green) implies t.pos' = t.pos )\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\talways ( all t:Train | eventually (no t.pos until t.pos in Entry))\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "x9D5JLxy88jFwHjmt", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:14:23"} {"_id": "LCTYywn7nuykZ4cWL", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n }\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways (no Track.prox and no prox.Track)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\t\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "ysRts7RiJ2YcSRDNe", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-11 17:19:37"} {"_id": "XxJaNEgSWD4XsGny9", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n (all t:Train| (historically no t.pos and after one t.pos:>Entry))\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "GydmgYxAWkrCnuudb", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 20:24:31"} {"_id": "xay3eFb6FHm8YRQsZ", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\talways ( all t:Train |no t.pos implies eventually (t.pos in Entry) )\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "4eAzbwbsddYarGXbk", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:26:19"} {"_id": "ndfWpGRKNLedPt2A2", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n always(all t:Train| eventually ( no t.pos and after ( one t.pos:>Entry)) )\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "KKriWhMCsYjTwXeRz", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 20:30:06"} {"_id": "ooLNwdScHtbE5tkhk", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n\talways (all t:Train, k:Track | some t->k in pos implies after t->k in pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "7G5c8pSdras9v8itN", "msg": "This must be a set or relation.\nInstead, it has the following possible type(s):\n{PrimitiveBoolean}", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 21:59:11"} {"_id": "tQTQt8CmLJ96sTzBM", "cmd_c": true, "cmd_i": 5, "cmd_n": "prop6ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\tall s : Signal | always (no Green' & Green)\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "FwCGymHmbqcziisH5", "msg": "This variable is unused.", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-6 17:21:20"} {"_id": "G6dcqMMEc4x7CLsm7", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos'=t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\tall t:Train | t.pos in Entry implies after t.pos in t.pos.prox\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "EFCq8ykToFvKqyax8", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-8 04:44:13"} {"_id": "a6JTsd8G2g9oZfXLM", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\teventually all s:Signal | s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos'=t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "usCb7YvkaT8mbFjqb", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-8 04:34:03"} {"_id": "G3fDXvCLw79pnRbZJ", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways Train.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Af3Yc6AQj3ciMwEdw", "msg": "This expression failed to be typechecked line 45, column 2, filename=/tmp/alloy_heredoc6385532553855789987.als", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-12-2 22:32:55"} {"_id": "XF6HfRpwuibbwNRmW", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n \n \n\n \n \n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \t\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "jHTTv4wSaqrWgZAJZ", "original": "FwCGymHmbqcziisH5", "theme": {"currentFramePosition": {}, "currentlyProjectedSigs": [], "generalSettings": {"currentLayout": "breadthfirst", "metaPrimSigs": [{"parent": null, "type": "univ"}, {"parent": "Feedback", "type": "AcceptedInvalidInstance"}, {"parent": "univ", "type": "Feedback"}, {"parent": "univ", "type": "Int"}, {"parent": "Track", "type": "Junction"}, {"parent": "Feedback", "type": "RejectedValidInstance"}, {"parent": "univ", "type": "Signal"}, {"parent": "univ", "type": "String"}, {"parent": "univ", "type": "Track"}, {"parent": "univ", "type": "Train"}, {"parent": "null", "type": "univ"}, {"parent": "Int", "type": "seq/Int"}, {"parent": "Feedback", "type": "AcceptedInvalidInstance"}, {"parent": "univ", "type": "Feedback"}, {"parent": "univ", "type": "Int"}, {"parent": "Track", "type": "Junction"}, {"parent": "Feedback", "type": "RejectedValidInstance"}, {"parent": "univ", "type": "Signal"}, {"parent": "univ", "type": "String"}, {"parent": "univ", "type": "Track"}, {"parent": "univ", "type": "Train"}, {"parent": "null", "type": "univ"}, {"parent": "Int", "type": "seq/Int"}], "metaSubsetSigs": [{"parent": "Track", "type": "this/Entry:Track"}, {"parent": "Track", "type": "this/Exit:Track"}]}, "nodePositions": {"AcceptedInvalidInstance": {"x": 698.6666666666666, "y": 99.5}, "Track0": {"x": 524, "y": 298.5}, "Track1": {"x": 524, "y": 199}, "Train": {"x": 349.33333333333337, "y": 99.5}}, "relationSettings": {"edgeColors": [{"color": "#0074D9", "relation": "pos"}, {"color": "#0074D9", "relation": "signal"}, {"color": "#0074D9", "relation": "prox"}], "edgeStyles": [{"edgeStyle": "solid", "relation": "pos"}, {"edgeStyle": "solid", "relation": "signal"}, {"edgeStyle": "solid", "relation": "prox"}], "showAsArcs": [{"relation": "general", "showAsArcs": true}, {"relation": "pos", "showAsArcs": true}, {"relation": "signal", "showAsArcs": true}, {"relation": "AcceptedInvalidInstance", "showAsArcs": true}, {"relation": "Junction", "showAsArcs": true}, {"relation": "this/Entry:Junction", "showAsArcs": true}, {"relation": "this/Exit:Junction", "showAsArcs": true}, {"relation": "Train", "showAsArcs": true}, {"relation": "prox", "showAsArcs": true}, {"relation": "Track", "showAsArcs": true}, {"relation": "this/Entry:Track", "showAsArcs": true}, {"relation": "Signal", "showAsArcs": true}, {"relation": "this/Green:Signal", "showAsArcs": true}, {"relation": "RejectedValidInstance", "showAsArcs": true}], "showAsAttributes": [{"relation": "signal", "showAsAttributes": false}, {"relation": "pos", "showAsAttributes": false}, {"relation": "prox", "showAsAttributes": false}]}, "sigSettings": {"nodeBorders": [{"border": "solid", "type": "univ"}, {"border": "inherit", "type": "AcceptedInvalidInstance"}, {"border": "inherit", "type": "Feedback"}, {"border": "inherit", "type": "Int"}, {"border": "inherit", "type": "this/Entry:Junction"}, {"border": "inherit", "type": "Junction"}, {"border": "inherit", "type": "Track"}, {"border": "inherit", "type": "this/Green:Signal"}, {"border": "inherit", "type": "Signal"}, {"border": "inherit", "type": "Train"}, {"border": "inherit", "type": "seq/Int"}, {"border": "inherit", "type": "general"}, {"border": "inherit", "type": "this/Exit:Junction"}, {"border": "inherit", "type": "this/Entry:Track"}, {"border": "inherit", "type": "RejectedValidInstance"}, {"border": "inherit", "type": "this/Exit:Track"}], "nodeColors": [{"color": "#2ECC40", "type": "univ"}, {"color": "#AAAAAA", "type": "AcceptedInvalidInstance"}, {"color": "inherit", "type": "Feedback"}, {"color": "inherit", "type": "Int"}, {"color": "inherit", "type": "this/Entry:Junction"}, {"color": "#0074D9", "type": "Junction"}, {"color": "#0074D9", "type": "Track"}, {"color": "#2ECC40", "type": "this/Green:Signal"}, {"color": "#FF4136", "type": "Signal"}, {"color": "#FFDC00", "type": "Train"}, {"color": "inherit", "type": "seq/Int"}, {"color": "inherit", "type": "general"}, {"color": "inherit", "type": "this/Exit:Junction"}, {"color": "inherit", "type": "this/Entry:Track"}, {"color": "#AAAAAA", "type": "RejectedValidInstance"}, {"color": "inherit", "type": "this/Exit:Track"}], "nodeShapes": [{"shape": "ellipse", "type": "univ"}, {"shape": "octagon", "type": "AcceptedInvalidInstance"}, {"shape": "inherit", "type": "Feedback"}, {"shape": "inherit", "type": "Int"}, {"shape": "inherit", "type": "this/Entry:Junction"}, {"shape": "inherit", "type": "Junction"}, {"shape": "rectangle", "type": "Track"}, {"shape": "inherit", "type": "this/Green:Signal"}, {"shape": "inherit", "type": "Signal"}, {"shape": "pentagon", "type": "Train"}, {"shape": "inherit", "type": "seq/Int"}, {"shape": "inherit", "type": "general"}, {"shape": "inherit", "type": "this/Exit:Junction"}, {"shape": "inherit", "type": "this/Entry:Track"}, {"shape": "octagon", "type": "RejectedValidInstance"}, {"shape": "inherit", "type": "this/Exit:Track"}], "nodeVisibility": [{"type": "univ", "visibility": false}, {"type": "Int", "visibility": true}, {"type": "seq/Int", "visibility": true}, {"type": "general", "visibility": false}, {"type": "AcceptedInvalidInstance", "visibility": false}, {"type": "this/Entry:Junction", "visibility": false}, {"type": "this/Green:Signal", "visibility": false}, {"type": "Train", "visibility": false}, {"type": "Junction", "visibility": false}, {"type": "this/Exit:Junction", "visibility": false}, {"type": "Signal", "visibility": false}, {"type": "this/Entry:Track", "visibility": false}, {"type": "Track", "visibility": false}, {"type": "RejectedValidInstance", "visibility": false}, {"type": "this/Exit:Track", "visibility": false}]}}, "time": "2021-1-16 20:50:22"} {"_id": "8kf3HGTXJePATtsJi", "cmd_c": true, "cmd_i": 6, "cmd_n": "prop7ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\t\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\tall t : Train | eventually t.pos in Exit\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "ddfx92eDt48qT2n5a", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-5 00:29:36"} {"_id": "WxiPx7hkfcRiRLj46", "cmd_c": true, "cmd_i": 6, "cmd_n": "prop7ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall t : Track | always lone t.~pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways all t : Train {\n \t((t.pos = Exit) implies (no t.pos'))\n \t\t or\n (t.pos' in t.pos.prox)\n \t}\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n \t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\tall t : Train | eventually (always no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "hvesXMXCrCBffhM9q", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-17 00:39:48"} {"_id": "funf95cBicDwD6icA", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n no Green\n\t// Intially all signals are red\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s : Signal | eventually s in Green\n\n}\n\n\npred prop3 {\n // Trains never move\n all t : Train | lone t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "z6aXKETuHcsbktDy9", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 22:42:12"} {"_id": "hYgq9DrLZYsnRWZwS", "cmd_i": 13, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\talways ( all t:Train | (some t.pos and one (t.pos.signal :>Green) ) implies (eventually t.pos'!=t.pos and (t.pos.signal in Signal-Green) )\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "tFCW4XqrApkT3owpQ", "msg": "There are 1 possible tokens that can appear here:\n)", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-16 19:58:56"} {"_id": "un9ESmdygH482iHxD", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green \n}\n\n\npred prop3 {\n\t// Trains never move\n always all t: Train, tk: Track | (t->tk in pos implies always t->tk in pos) and (t->tk not in pos implies always t->tk not in pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "XqznFbPEqmRj3y7TT", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-25 23:03:38"} {"_id": "YtstTYcybXAsdgLA7", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n \t\n \tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t\n\talways (all s:Signal | always (s in Green) implies eventually (s not in Green ) or \n\t\t\t \t\t\talways s not in Green implies eventually (s in Green) )\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "iEqPmfLjdWmgpkPk8", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2021-1-13 21:22:33"} {"_id": "wMwzKWELdXN6oBX4P", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n always Train.pos' = Train.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "HKqa8BDY5jereuKth", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-26 10:52:09"} {"_id": "6ivssMKDeYsNfASur", "cmd_c": true, "cmd_i": 14, "cmd_n": "prop15ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways (pos.(~pos) in iden)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n \talways (all s:Signal | (s in Green implies eventually s not in Green) and (s not in Green implies eventually s in Green))\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\talways (all t:pos.Track | eventually no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \teventually (all t:Train | t.pos in Entry)\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\talways (all j:Junction | lone ((prox.j).signal&Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\talways (all t:pos.Track | once (t.pos in Entry))\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\t\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\t\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n \t\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\talways eventually (some t:Train | (t.pos)' != t.pos)\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:pos.Exit | (some t.pos) since t.pos in Entry)\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\t\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\t\n}", "derivationOf": "Y77cyAiexxdyyDDpR", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-29 15:05:14"} {"_id": "w6X7PSmxpQu99aJmR", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\n\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\n\t// No cycles\n\tno t : Track | t in t.^prox\n\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "XE5MBRpgCkoC26K8b", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-12-17 00:05:08"} {"_id": "ZinXGQqcCLesAYtqs", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n }\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n}\n\n\npred prop3 {\n\t// Trains never move\n\tno prox\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "ffo53KCutvnKTmBi5", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-11 17:16:57"} {"_id": "ZxshJELdsMjEXRFqM", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\t \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\talways(all t:Track | eventually t.signal = Green)\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "CYLKy4ExqbErg4ozc", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-28 15:51:38"} {"_id": "6hMPzdPJCtoFQqy83", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n }\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n}\n\n\npred prop3 {\n\t// Trains never move\n\t no prox\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "4rvzwoeieEb6orma9", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-11 17:13:08"} {"_id": "4auctgj5ANkSZu9f6", "cmd_i": 0, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Red\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "FwCGymHmbqcziisH5", "msg": "The name \"Red\" cannot be found.", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-13 21:28:37"} {"_id": "wavPrL8GhsmGQEbpp", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "MnJfvnbbyXpL3aK3H", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-25 22:34:14"} {"_id": "T6vRuLfkEt9FXiTXY", "cmd_c": true, "cmd_i": 1, "cmd_n": "prop2ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\t(some s:Signal | s in Green) since (historically (all s:Signal | s not in Green)) \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t (all s:Signal | eventually s in Green)\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "pWGorWk9r36QD9txp", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-28 15:57:12"} {"_id": "mR6xYeXhS5regdgpe", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\tall t : Train | always t.pos in Entry or t.pos in Exit\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\t\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "AWQCKBfgG4qGraTbt", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-8 00:55:05"} {"_id": "uf6e88MhjFCuS46z2", "cmd_i": 1, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n }\n\npred prop2 {\n\t// Every signal will eventually become green\n\talways ( all s : Track.signal | eventually g=Green)\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "NPCtc2qrQNMZG4FPg", "msg": "The name \"g\" cannot be found.", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-11 17:10:41"} {"_id": "BzFvbHtxhWQN8DXEK", "cmd_c": true, "cmd_i": 8, "cmd_n": "prop9ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\talways ( all t:Train | eventually t.pos in Entry)\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "mpETxnuZ9ZJahXhcu", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:10:27"} {"_id": "bKBcEg2kRTmoLEWyT", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n no Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green \n}\n\n\npred prop3 {\n\t// Trains never move\n \n all t: Train, tk: Track | (t->tk in pos implies always t->tk in pos) and (t->tk not in pos implies always t->tk not in pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n always ~prox.prox in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Rqb7doDRPdjXYLhhd", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 23:14:44"} {"_id": "a4ocztnc9KxWCwpXA", "cmd_c": true, "cmd_i": 10, "cmd_n": "prop11ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\talways ( all t:Train| some t.pos and once t.pos in Entry) \n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "D9kia7oDFxNuQY69o", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 23:56:17"} {"_id": "7XPCCk95MDKd2fz3n", "cmd_c": true, "cmd_i": 14, "cmd_n": "prop15ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n \talways (all t:Train | (t.pos)'=t.pos) \n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\talways (all t:pos.Track | (t.pos)' in t.pos + t.pos.prox or (t.pos in Exit and (t.pos)' in t.pos))\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\talways (all t:pos.Track | eventually no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\talways (all j:Junction | lone (prox.j).signal & Green)\n \talways (lone (prox.Junction).signal & Green)\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\talways (all t:Train | some t.pos implies once t.pos in Entry) \n}\n\n\npred prop12 {\n\t\n\t\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\t\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\talways (all t:pos.Track | eventually (t.pos)' != t.pos)\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "qK6xRzqGgrJ4Lkv3j", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-12-1 21:22:57"} {"_id": "ZnSXv5rwsCyDZTsJR", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n }\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n}\n\n\npred prop3 {\n\t// Trains never move\n\t all t : Train , x : t.pos | no x.prox\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "yvqiQ4PoS4EeMCFBD", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-11 17:14:03"} {"_id": "EgTcSqv3Q5BD9Rm9W", "cmd_i": 1, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n no Green\n\t// Intially all signals are red\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n s : Signal | eventually s in Green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "y7ZtAGLfWdWZAjpaB", "msg": "There are 38 possible tokens that can appear here:\n! # ( * @ Int NAME NUMBER STRING String Time ^ after all always before disj eventually fun historically iden int let lone no none once one pred seq set some sum this univ { } ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-12-2 22:37:24"} {"_id": "e7JvjkLs5vPCbPys3", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n \n all s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n always ~pos.pos in iden and (always all t : Train | always lone t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "HPFEFFafMGiKbrgiR", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-11-25 22:44:54"} {"_id": "CrSPgT7BWzLQdmtZg", "cmd_i": 4, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n \t\n \tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n all t:Train |{\n \talways (t.pos in Exit implies no t.pos')\n \talways (t.pos in Entry implies (t.pos'in (t.pos.prox) ) \n }\n \t\n}\n\n\npred prop6 {\n\t\n\talways (all s:Signal | always (s in Green) implies eventually (s not in Green ) or \n\t\t\t \t\t\talways s not in Green implies eventually (s in Green) )\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "YqjRS68h2NHBS2h5Q", "msg": "There are 1 possible tokens that can appear here:\n)", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-13 21:53:03"} {"_id": "ZX4gK6TyrhYDXJACq", "cmd_i": 8, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n all t:Train| {\n\talways (t.pos in Exit implies eventually no t.pos)\n always (t.pos in (Track-Exit) implies t.pos' in t.pos.prox)\n }\n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\t\n always (no t:Train | eventually no (t.pos in Track-Entry)\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "pQgFhYGCYpwwgqQgw", "msg": "There are 1 possible tokens that can appear here:\n)", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-13 23:12:07"} {"_id": "TR4g5o9e5Jd9A7dQd", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n all s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n \talways all t1, t2: Train | lone tr1: Track | always (t1.pos in tr1 and t2.pos in tr1 implies t1=t2)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "8agC8ydsaKCCs9jMs", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-2 23:02:41"} {"_id": "5bDYReNbrHj89HKj6", "cmd_c": true, "cmd_i": 14, "cmd_n": "prop15ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\teventually always (some t: Train| (no t.pos implies some t.pos) or t.pos != t.pos')\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "4dyTpBj8yEFhkNSh2", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-16 19:44:35"} {"_id": "tGngrvHr8KPskaQWc", "cmd_i": 5, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\talways (all s:Green | after s not in Green )\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "QAyLPCtS6a3oWdsvk", "msg": "There are 38 possible tokens that can appear here:\n! # ( * @ Int NAME NUMBER STRING String Time ^ after all always before disj eventually fun historically iden int let lone no none once one pred seq set some sum this univ { } ~", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 23:30:13"} {"_id": "csS2ME8x6T3PmZPCL", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways no Train.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Hcw55G4MbLjgY2HL8", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-5 00:05:51"} {"_id": "NQbsKPQPeLaXN78Pz", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos' = pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1, t2 : Train | t1.pos != t2.pos\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "FwCGymHmbqcziisH5", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-14 01:24:51"} {"_id": "usCb7YvkaT8mbFjqb", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos'=t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "Q4GaxuNheYSkbbE9J", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2021-1-8 04:33:47"} {"_id": "oh4Tc3WNCjwbuAgPp", "cmd_c": true, "cmd_i": 2, "cmd_n": "prop3ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways Entry + Exit in Train.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "MzAtMtgNJmKW6vvQj", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-5 00:14:03"} {"_id": "bLtBEMyJfZ76CisfY", "cmd_c": true, "cmd_i": 6, "cmd_n": "prop7ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\talways (all t:Train | some t.pos implies eventually no t.pos)\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "FwCGymHmbqcziisH5", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-26 11:46:32"} {"_id": "XxupKsGevPdcdvtgk", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": " Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green,Red in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t No cycles\n\tno t : Track | t in t.^prox\n\t Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t Intially all signals are red\n\tall s:Signal | s in Red\n}\n\n\npred prop2 {\n\t Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t Trains never move\n\talways all t:Train | t.pos'=t.pos\n}\n\n\npred prop4 {\n\t There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos)\n}\n\n\npred prop5 {\n\t A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "q8Eg8BcMkgcDhNy7u", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-8 04:47:42"} {"_id": "guaSPdJ4CEP3mGwTq", "cmd_c": true, "cmd_i": 0, "cmd_n": "prop1ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\n}\n\n\npred prop3 {\n\t// Trains never move\n\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "wfnjN9WrwwKXxXW3w", "original": "FwCGymHmbqcziisH5", "sat": 0, "time": "2020-11-25 22:56:05"} {"_id": "cGYgnbwd3bJhposLX", "cmd_i": 2, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s: Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t: Train | {let x = t.pos | Train} after t.pos = x\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "MCwMRxbKQfiSAtuJ6", "msg": "This must be a formula expression.\nInstead, it has the following possible type(s):\n{this/Train}", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2020-11-25 22:41:58"} {"_id": "FyBKTQ4GuLeyZMw5L", "cmd_i": 4, "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno s:Green| s in Signal \n \t\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n \n always (all t:Train|(one t.pos:> Exit and some t.pos.prox => no t.pos'))\n always (all t:Train| (one t.pos and some t.pos.prox => (t.pos' in t.pos.prox or t.pos'=t.pos) )\n\n \n \n \n}\n\n\npred prop6 {\n\t\n \talways (all s:(Signal-Green) | eventually s in Green) \n\talways (all s:Green | eventually s in (Signal-Green)) \n\t\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n always ( all t:Train | some t.pos implies eventually no t.pos )\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\talways ( all t:Train | some t.pos.signal and (t.pos.signal in Signal-Green) implies t.pos' = t.pos )\n\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n \n\t \n}\n\n\npred prop10 {\n\t\n \t\n\talways (all j:Junction | lone((prox.j).signal :> Green))\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\t\n \talways ( all t:Train | some t.pos implies once some t.pos :> Entry)\n\n}\t\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\nalways (all t:Train | (once some t.pos and no t.pos ) => always no t.pos) \n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\t\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n always eventually (all t:Train | (no t.pos => eventually some t.pos ) and some t.pos => eventually (t.pos !=t.pos') )\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\talways (all t:Train | one (t.pos:>Exit) => (some t.pos since one (t.pos:>Entry )))\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n \n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "79zy8M7rkHHSo4pR4", "msg": "There are 1 possible tokens that can appear here:\n)", "original": "FwCGymHmbqcziisH5", "sat": -1, "time": "2021-1-16 20:46:18"} {"_id": "z7cz5zfaC6ozEXwbn", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n }\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n}\n\n\npred prop3 {\n\t// Trains never move\n\t\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall disj t : Train | always (lone pos.t)\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "SDKeWLKsWCJ9heoXk", "msg": "The join operation here always yields an empty set.\nLeft type = {this/Train->this/Track}\nRight type = {this/Train}", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-11 17:23:42"} {"_id": "sPq6DgQx9fyFExid8", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s : Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways pos = pos'\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways pos.~pos in iden\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\t\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\t\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\t\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "M7JJDBRt2MwPSL9M4", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2020-12-8 01:19:57"} {"_id": "cSGKZaWhs4T8sn2kP", "cmd_c": true, "cmd_i": 3, "cmd_n": "prop4ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n\thistorically no Green \n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t\n \talways( all t:Train | t.pos' = t.pos)\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\tall tk : Track | lone pos.tk\n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n}\n\n\npred prop6 {\n\t// Signals are always alternating\n\n}\n\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "S8xEaiFb5v9JnWZHF", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 21:26:26"} {"_id": "yB2M6uD76ietPSWGC", "cmd_c": true, "cmd_i": 4, "cmd_n": "prop5ok", "code": "// Model of a train station\n\nsig Track {\n\tprox : set Track,\n\tsignal : lone Signal\n}\nsig Junction extends Track {}\nsig Entry, Exit in Track {}\n\nsig Signal {}\nvar sig Green in Signal {}\n\nsig Train {\n\tvar pos : lone Track\n}\n\nfact Layout {\n\t// A track is a junction iff it has more than one successor or more than one predecessor\n\tall t : Track | t not in Junction iff (lone t.prox and lone prox.t)\n\t// No cycles\n\tno t : Track | t in t.^prox\n\t// Signals belong to one and only one track\n\tall s : Signal | one signal.s\n\t// All tracks before junctions have signals\n\tall j : Junction, t : prox.j | some t.signal\n\t// Entry tracks are those without predecessors and exit tracks are those without no successors\n\tall t : Track | t in Entry iff no prox.t\n\tall t : Track | t in Exit iff no t.prox\n}\n\n\npred prop1 {\n\t// Intially all signals are red\n \t\n \tno Green\n}\n\n\npred prop2 {\n\t// Every signal will eventually become green\n\t\n \tall s:Signal | eventually s in Green\n}\n\n\npred prop3 {\n\t// Trains never move\n\talways all t:Train | t.pos' = t.pos\n}\n\n\npred prop4 {\n\t// There are no collisions between trains\n\talways all disj t1,t2:Train | no (t1.pos & t2.pos ) \n}\n\n\npred prop5 {\n\t// A train inside the station can only move to one of the next tracks (or exit the station if it is in an exit track)\n\n all t:Train |{\n \talways (t.pos in Exit implies t.pos'= t.pos)\n \t\n }\n \t\n}\n\n\npred prop6 {\n\t\n\talways (all s:Signal | always (s in Green) implies eventually (s not in Green ) or \n\t\t\t \t\t\talways s not in Green implies eventually (s in Green) )\n}\n\npred prop7 {\n\t// All trains inside the station will eventually leave the station\n\t\n}\n\n\npred prop8 {\n\t// A train at a track with a red signal can only move after the signal becomes green\n\n}\n\n\npred prop9 {\n\t// All trains will eventually enter the station in entry tracks\n\t\n}\n\n\npred prop10 {\n\t// Is is always the case that at most one signal before a junction can be green\n\n}\n\n\npred prop11 {\n\t// It is always the case that trains inside the station where previously at a an entry track\n\n}\n\n\npred prop12 {\n\t// A train positioned in a track previously passed through all tracks that connect it to an entry track\n\n}\n\n\npred prop13 {\n\t// Trains that left the station never return\n\n}\n\n\npred prop14 {\n\t// Immediately after a train leaves a track with a green signal the signal turns red\n\n}\n\n\npred prop15 {\n\t// Trains cannot remain forever stopped in same position\n\n}\n\n\npred prop16 {\n\t// A train in an exit track was always inside the station since it arrived at an entry track\n\n}\n\n\npred prop17 {\n\t// The first train to be inside the station will be the first to arrive at an exit track\n\n}\n\n\npred prop18 {\n\t// When several trains are trying to enter a junction the first that arrived will have priority\n\n}", "derivationOf": "KB5TKbH9RPEqRzEeh", "original": "FwCGymHmbqcziisH5", "sat": 1, "time": "2021-1-13 22:00:35"}