lean4-htt/tests/lean/structure_instance_bug2.lean

13 lines
290 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

def default_smt_pre_config : smt_pre_config := {}
def my_pre_config1 : smt_pre_config :=
{ default_smt_pre_config . zeta := tt }
def my_pre_config2 : smt_pre_config :=
{ default_smt_pre_config with zeta := tt }
structure st :=
(i : )
example (s : st) : unit × st :=
{s with i := 0}