Details

Time bar (total: 14.5s)

sample61.0ms

Algorithm
intervals
Results
39.0ms463×body80valid

simplify2.1s

Counts
1 → 1
Iterations
IterNodes
done5001
51689
4447
3160
258
121
011

prune22.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 6.7b

localize23.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* x.re x.re) (* x.im x.im))
0.1b
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
0.2b
(- (* (- (* x.re x.re) (* x.im x.im)) x.re) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
6.3b
(* (- (* x.re x.re) (* x.im x.im)) x.re)

rewrite139.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt associate-*l/
pow1 *-un-lft-identity add-cbrt-cube add-exp-log add-cube-cbrt add-log-exp
associate-*l*
associate-*r*
flip3-- flip--
frac-sub
flip3-+ flip-+
sub-neg diff-log pow-prod-down prod-exp *-commutative cbrt-unprod difference-of-squares unswap-sqr
Counts
4 → 70
Calls
4 calls:
12.0ms
(- (* x.re x.re) (* x.im x.im))
34.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
51.0ms
(- (* (- (* x.re x.re) (* x.im x.im)) x.re) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
37.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.re)

series232.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(- (* x.re x.re) (* x.im x.im))
36.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
83.0ms
(- (* (- (* x.re x.re) (* x.im x.im)) x.re) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
66.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.re)

simplify2.3s

Counts
82 → 82
Iterations
IterNodes
done5000
23205
1429
0139

prune501.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.1b

localize41.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (- x.re x.im) x.re)
0.1b
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
0.2b
(- (* (+ x.re x.im) (* (- x.re x.im) x.re)) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
0.2b
(* (+ x.re x.im) (* (- x.re x.im) x.re))

rewrite185.0ms

Algorithm
rewrite-expression-head
Rules
44×associate-*l/
18×flip3-+ flip-+
16×frac-sub
15×add-sqr-sqrt
13×pow1 *-un-lft-identity add-cbrt-cube add-exp-log
12×frac-times associate-*l*
11×flip3-- flip--
add-cube-cbrt
associate-*r*
associate-*r/ add-log-exp
pow-prod-down prod-exp cbrt-unprod
*-commutative
unswap-sqr
sub-neg diff-log distribute-lft-out distribute-lft-out-- difference-of-squares
Counts
4 → 97
Calls
4 calls:
18.0ms
(* (- x.re x.im) x.re)
34.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
72.0ms
(- (* (+ x.re x.im) (* (- x.re x.im) x.re)) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
58.0ms
(* (+ x.re x.im) (* (- x.re x.im) x.re))

series276.0ms

Counts
4 → 12
Calls
4 calls:
62.0ms
(* (- x.re x.im) x.re)
42.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
97.0ms
(- (* (+ x.re x.im) (* (- x.re x.im) x.re)) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
75.0ms
(* (+ x.re x.im) (* (- x.re x.im) x.re))

simplify382.0ms

Counts
109 → 109
Iterations
IterNodes
done5000
1753
0211

prune650.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 0.0b

localize37.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (+ (* x.re x.im) (* x.im x.re))) (cbrt (+ (* x.re x.im) (* x.im x.re))))
11.8b
(cbrt (* x.re (+ x.im x.im)))
11.8b
(cbrt (+ (* x.re x.im) (* x.im x.re)))
11.8b
(cbrt (+ (* x.re x.im) (* x.im x.re)))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
23×cbrt-prod
22×add-sqr-sqrt
18×cbrt-div
14×*-un-lft-identity add-cube-cbrt
11×pow1
flip3-+ pow1/3 flip-+
swap-sqr associate-*r* associate-*l* add-exp-log
frac-times add-cbrt-cube associate-*r/ add-log-exp unswap-sqr
pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 85
Calls
4 calls:
35.0ms
(* (cbrt (+ (* x.re x.im) (* x.im x.re))) (cbrt (+ (* x.re x.im) (* x.im x.re))))
5.0ms
(cbrt (* x.re (+ x.im x.im)))
4.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))
4.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))

series634.0ms

Counts
4 → 12
Calls
4 calls:
210.0ms
(* (cbrt (+ (* x.re x.im) (* x.im x.re))) (cbrt (+ (* x.re x.im) (* x.im x.re))))
177.0ms
(cbrt (* x.re (+ x.im x.im)))
127.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))
120.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))

simplify758.0ms

Counts
97 → 97
Iterations
IterNodes
done5000
21382
1353
0143

prune784.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0.0b

localize62.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt x.re)
0.6b
(cbrt (* 2 x.im))
11.8b
(cbrt (+ (* x.re x.im) (* x.im x.re)))
11.8b
(cbrt (+ (* x.re x.im) (* x.im x.re)))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
10×cbrt-prod
add-sqr-sqrt *-un-lft-identity add-cube-cbrt
pow1 cbrt-div add-cbrt-cube pow1/3 add-exp-log add-log-exp
flip3-+ flip-+
Counts
4 → 46
Calls
4 calls:
1.0ms
(cbrt x.re)
3.0ms
(cbrt (* 2 x.im))
5.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))
7.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))

series1.0s

Counts
4 → 12
Calls
4 calls:
320.0ms
(cbrt x.re)
369.0ms
(cbrt (* 2 x.im))
158.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))
157.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))

simplify1.6s

Counts
58 → 58
Iterations
IterNodes
done5000
32364
2557
1210
094

prune416.0ms

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 0.0b

regimes172.0ms

Accuracy

0% (0.2b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 0.2b

bsearch0.0ms

simplify3.0ms

Iterations
IterNodes
done20
320
218
116
011

end0.0ms

sample2.1s

Algorithm
intervals
Results
1.5s14400×body80valid