Details

Time bar (total: 18.4s)

sample36.0ms

Algorithm
intervals
Results
23.0ms453×body80valid

simplify2.7s

Counts
1 → 1
Iterations

Useful iterations: done (2.7s)

IterNodesCost
011362
121322
258322
3160322
4447282
51689242
done5001203

prune17.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 6.4b

localize39.0ms

Local error

Found 4 expressions with local error:

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

rewrite94.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-+ flip3-- frac-sub flip-+ flip--
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
+-commutative sum-log sub-neg diff-log difference-of-squares
Counts
4 → 68
Calls
4 calls:
6.0ms
(+ (* x.re x.im) (* x.im x.re))
37.0ms
(- (* (- (* x.re x.re) (* x.im x.im)) x.re) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
29.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
20.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.re)

series230.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(+ (* x.re x.im) (* x.im x.re))
99.0ms
(- (* (- (* x.re x.re) (* x.im x.im)) x.re) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
47.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
55.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.re)

simplify2.8s

Counts
80 → 80
Iterations

Useful iterations: done (2.8s)

IterNodesCost
013629591
141321423
2277820547
done500118496

prune459.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.1b

localize47.0ms

Local error

Found 4 expressions with local error:

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

rewrite207.0ms

Algorithm
rewrite-expression-head
Rules
42×associate-*l/
19×flip3-+ flip-+
16×frac-sub
12×frac-times
11×pow1 add-cbrt-cube add-exp-log
10×flip3-- flip--
add-sqr-sqrt *-un-lft-identity
add-log-exp
associate-*l* add-cube-cbrt
associate-*r/
associate-*r* pow-prod-down prod-exp cbrt-unprod
*-commutative
+-commutative sum-log sub-neg diff-log distribute-lft-out unswap-sqr
Counts
4 → 86
Calls
4 calls:
12.0ms
(+ (* x.re x.im) (* x.im x.re))
80.0ms
(- (* (+ x.re x.im) (* (- x.re x.im) x.re)) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
34.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
77.0ms
(* (+ x.re x.im) (* (- x.re x.im) x.re))

series240.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(+ (* x.re x.im) (* x.im x.re))
95.0ms
(- (* (+ x.re x.im) (* (- x.re x.im) x.re)) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
49.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
72.0ms
(* (+ x.re x.im) (* (- x.re x.im) x.re))

simplify1.1s

Counts
98 → 98
Iterations

Useful iterations: done (1.1s)

IterNodesCost
019853520
172336919
done500034823

prune572.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 0.0b

localize81.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (cbrt (* (+ x.re x.im) (* (- x.re x.im) x.re))) (cbrt (* (+ x.re x.im) (* (- x.re x.im) x.re))))
15.9b
(cbrt (* (+ x.re x.im) (* (- x.re x.im) x.re)))
15.9b
(cbrt (* (+ x.re x.im) (* (- x.re x.im) x.re)))
15.9b
(cbrt (* (+ x.re x.im) (* (- x.re x.im) x.re)))

rewrite243.0ms

Algorithm
rewrite-expression-head
Rules
176×associate-*l/
168×cbrt-div
148×frac-times
63×flip3-+ flip3-- flip-+ flip--
50×associate-*r/
11×pow1
10×add-sqr-sqrt
pow1/3
*-un-lft-identity add-cube-cbrt
cbrt-prod
add-exp-log
add-cbrt-cube swap-sqr associate-*r* associate-*l* add-log-exp
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 162
Calls
4 calls:
91.0ms
(* (cbrt (* (+ x.re x.im) (* (- x.re x.im) x.re))) (cbrt (* (+ x.re x.im) (* (- x.re x.im) x.re))))
44.0ms
(cbrt (* (+ x.re x.im) (* (- x.re x.im) x.re)))
45.0ms
(cbrt (* (+ x.re x.im) (* (- x.re x.im) x.re)))
35.0ms
(cbrt (* (+ x.re x.im) (* (- x.re x.im) x.re)))

series779.0ms

Counts
4 → 12
Calls
4 calls:
211.0ms
(* (cbrt (* (+ x.re x.im) (* (- x.re x.im) x.re))) (cbrt (* (+ x.re x.im) (* (- x.re x.im) x.re))))
202.0ms
(cbrt (* (+ x.re x.im) (* (- x.re x.im) x.re)))
188.0ms
(cbrt (* (+ x.re x.im) (* (- x.re x.im) x.re)))
178.0ms
(cbrt (* (+ x.re x.im) (* (- x.re x.im) x.re)))

simplify1.8s

Counts
174 → 174
Iterations

Useful iterations: done (1.7s)

IterNodesCost
0251139352
1436110727
21633109726
done5001109046

prune1.7s

Pruning

14 alts after pruning (13 fresh and 1 done)

Merged error: 0.0b

localize76.0ms

Local error

Found 4 expressions with local error:

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

rewrite81.0ms

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

series918.0ms

Counts
4 → 12
Calls
4 calls:
240.0ms
(cbrt (+ x.re x.im))
192.0ms
(cbrt (+ x.re x.im))
204.0ms
(cbrt (+ x.re x.im))
282.0ms
(* (cbrt (+ x.re x.im)) (cbrt (+ x.re x.im)))

simplify1.2s

Counts
107 → 107
Iterations

Useful iterations: done (1.2s)

IterNodesCost
011636781
127828697
2113228697
done500127977

prune619.0ms

Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 0.0b

regimes252.0ms

Accuracy

0% (0.2b remaining)

Error of 0.3b against oracle of 0.1b and baseline of 0.3b

bsearch0.0ms

simplify3.0ms

Iterations

Useful iterations: 1 (1.0ms)

IterNodesCost
011362
116322
218322
320322
done20322

end0.0ms

sample2.2s

Algorithm
intervals
Results
1.8s14556×body80valid