Details

Time bar (total: 16.2s)

sample50.0ms

Algorithm
intervals
Results
31.0ms488×body80valid

simplify2.3s

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

prune11.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 6.4b

localize36.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.0b
(* (- (* x.re x.re) (* x.im x.im)) x.re)

rewrite97.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))
39.0ms
(- (* (- (* x.re x.re) (* x.im x.im)) x.re) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
17.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
33.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.re)

series203.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(+ (* x.re x.im) (* x.im x.re))
75.0ms
(- (* (- (* x.re x.re) (* x.im x.im)) x.re) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
38.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
64.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.re)

simplify2.1s

Counts
80 → 80
Iterations
IterNodes
done5001
22778
1413
0136

prune410.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.1b

localize27.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))

rewrite150.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))
54.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)
44.0ms
(* (+ x.re x.im) (* (- x.re x.im) x.re))

series266.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(+ (* x.re x.im) (* x.im x.re))
78.0ms
(- (* (+ x.re x.im) (* (- x.re x.im) x.re)) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
55.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
97.0ms
(* (+ x.re x.im) (* (- x.re x.im) x.re))

simplify1.0s

Counts
98 → 98
Iterations
IterNodes
done5000
1723
0198

prune491.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 0.0b

localize97.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.im)) (cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.im)))
27.9b
(cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.im))
27.9b
(cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.im))
27.9b
(cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.im))

rewrite68.0ms

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

series781.0ms

Counts
4 → 12
Calls
4 calls:
213.0ms
(* (cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.im)) (cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.im)))
170.0ms
(cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.im))
186.0ms
(cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.im))
210.0ms
(cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.im))

simplify1.5s

Counts
84 → 84
Iterations
IterNodes
done5000
21125
1315
0124

prune713.0ms

Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 0.0b

localize64.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt x.im)
0.6b
(cbrt x.im)
0.6b
(cbrt x.im)
0.6b
(cbrt x.im)

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod
add-sqr-sqrt *-un-lft-identity add-cube-cbrt
pow1 add-cbrt-cube pow1/3 add-exp-log add-log-exp
Counts
4 → 44
Calls
4 calls:
1.0ms
(cbrt x.im)
1.0ms
(cbrt x.im)
1.0ms
(cbrt x.im)
1.0ms
(cbrt x.im)

series1.3s

Counts
4 → 12
Calls
4 calls:
331.0ms
(cbrt x.im)
333.0ms
(cbrt x.im)
304.0ms
(cbrt x.im)
304.0ms
(cbrt x.im)

simplify2.0s

Counts
56 → 56
Iterations
IterNodes
done5002
52939
4859
3326
2113
144
024

prune333.0ms

Pruning

12 alts after pruning (9 fresh and 3 done)

Merged error: 0.0b

regimes207.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify3.0ms

Iterations
IterNodes
done20
320
218
116
011

end0.0ms

sample2.0s

Algorithm
intervals
Results
1.7s14404×body80valid