Details

Time bar (total: 16.6s)

sample54.0ms

Algorithm
intervals
Results
35.0ms453×body80valid

simplify3.1s

Counts
1 → 1
Iterations

Useful iterations: done (3.1s)

IterNodesCost
011362
124322
266322
3180322
4533282
51929242
done5001203

prune10.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 6.4b

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

rewrite112.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*
expm1-log1p-u flip3-+ flip3-- frac-sub flip-+ log1p-expm1-u flip--
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
+-commutative sum-log sub-neg fma-def fma-neg diff-log prod-diff difference-of-squares
Counts
4 → 79
Calls
4 calls:
6.0ms
(+ (* x.re x.im) (* x.im x.re))
46.0ms
(- (* (- (* x.re x.re) (* x.im x.im)) x.re) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
32.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
27.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.re)

series202.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(+ (* x.re x.im) (* x.im x.re))
67.0ms
(- (* (- (* x.re x.re) (* x.im x.im)) x.re) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
45.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
63.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.re)

simplify2.2s

Counts
91 → 91
Iterations

Useful iterations: done (2.2s)

IterNodesCost
014932683
144424260
2292623051
done500022952

prune450.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.1b

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

rewrite176.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/
expm1-log1p-u associate-*r* pow-prod-down prod-exp cbrt-unprod log1p-expm1-u
*-commutative
+-commutative sum-log sub-neg fma-def fma-neg diff-log prod-diff distribute-lft-out unswap-sqr
Counts
4 → 97
Calls
4 calls:
6.0ms
(+ (* x.re x.im) (* x.im x.re))
48.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)
82.0ms
(* (+ x.re x.im) (* (- x.re x.im) x.re))

series240.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(+ (* x.re x.im) (* x.im x.re))
74.0ms
(- (* (+ x.re x.im) (* (- x.re x.im) x.re)) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
40.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
97.0ms
(* (+ x.re x.im) (* (- x.re x.im) x.re))

simplify1.5s

Counts
109 → 109
Iterations

Useful iterations: done (1.5s)

IterNodesCost
021156612
177340266
done500037699

prune600.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize25.0ms

Local error

Found 4 expressions with local error:

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

rewrite72.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
10×*-un-lft-identity
associate-*r*
pow1 add-cbrt-cube associate-*l* add-exp-log add-cube-cbrt
add-log-exp
expm1-log1p-u log1p-expm1-u
flip3-+ distribute-rgt-out count-2 pow-prod-down associate-*l/ prod-exp associate-*r/ *-commutative cbrt-unprod flip-+ distribute-lft-out unswap-sqr
distribute-rgt-in +-commutative sum-log fma-def distribute-lft-in flip3-- fma-udef flip-- distribute-lft-out-- difference-of-squares
Counts
4 → 78
Calls
4 calls:
33.0ms
(* (- x.re x.im) x.re)
13.0ms
(+ (* x.im x.re) (* x.im x.re))
23.0ms
(* x.im (+ (* x.im x.re) (* x.im x.re)))
0.0ms
(fma (+ x.re x.im) (* (- x.re x.im) x.re) (- (* x.im (+ (* x.im x.re) (* x.im x.re)))))

series263.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(* (- x.re x.im) x.re)
39.0ms
(+ (* x.im x.re) (* x.im x.re))
38.0ms
(* x.im (+ (* x.im x.re) (* x.im x.re)))
122.0ms
(fma (+ x.re x.im) (* (- x.re x.im) x.re) (- (* x.im (+ (* x.im x.re) (* x.im x.re)))))

simplify1.8s

Counts
90 → 90
Iterations

Useful iterations: done (1.8s)

IterNodesCost
011318443
130515383
2183814735
done500114580

prune508.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize26.0ms

Local error

Found 4 expressions with local error:

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

rewrite63.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
22×*-un-lft-identity
20×add-cube-cbrt
18×prod-diff
12×distribute-rgt-in distribute-lft-in
11×associate-*r*
pow1 add-cbrt-cube add-exp-log
associate-*l* add-log-exp
expm1-log1p-u associate-*r/ log1p-expm1-u
sub-neg flip3-+ distribute-rgt-out count-2 pow-prod-down prod-exp *-commutative cbrt-unprod flip-+ distribute-lft-out unswap-sqr
+-commutative sum-log fma-def flip3-- fma-udef flip-- distribute-lft-out-- difference-of-squares
Counts
4 → 100
Calls
4 calls:
25.0ms
(* x.re (- x.re x.im))
6.0ms
(+ (* x.im x.re) (* x.im x.re))
27.0ms
(* x.im (+ (* x.im x.re) (* x.im x.re)))
1.0ms
(fma (+ x.re x.im) (* x.re (- x.re x.im)) (- (* x.im (+ (* x.im x.re) (* x.im x.re)))))

series279.0ms

Counts
4 → 12
Calls
4 calls:
54.0ms
(* x.re (- x.re x.im))
27.0ms
(+ (* x.im x.re) (* x.im x.re))
41.0ms
(* x.im (+ (* x.im x.re) (* x.im x.re)))
157.0ms
(fma (+ x.re x.im) (* x.re (- x.re x.im)) (- (* x.im (+ (* x.im x.re) (* x.im x.re)))))

simplify2.3s

Counts
112 → 112
Iterations

Useful iterations: done (2.3s)

IterNodesCost
016128122
142123397
2223019350
done500119270

prune450.0ms

Pruning

10 alts after pruning (9 fresh and 1 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

simplify11.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
010337
118337
222337
327337
done27337

end0.0ms

sample2.0s

Algorithm
intervals
Results
1.6s14556×body80valid