This PR adds a test replicating Kim's diamond dependency example. The top-level package, `D`, depends on two intermediate packages, `B` and `C`, which each require semantically different versions of another package, `A`. The portion of `A` that `B` and `C` publicly use is unchanged across the versions, but they both privately make use of changed API. Currently, this causes a version clash. This will be made to work without error later this quarter.
11 lines
226 B
Text
11 lines
226 B
Text
module
|
||
|
||
public import DiamondExampleA.Ring.Defs
|
||
import DiamondExampleA.Ring.Lemmas
|
||
|
||
open Ring
|
||
|
||
public theorem bar [Ring α] (a b c : α) : a + b + c = b + a + c := by
|
||
rw [add_assoc]
|
||
rw [add_left_comm]
|
||
rw [← add_assoc]
|