Details

Time bar (total: 14.8s)

sample62.0ms

Algorithm
intervals
Results
39.0ms481×body80valid

simplify2.2s

Counts
1 → 1
Iterations
IterNodes
done5000
51115
4335
3127
251
120
011

prune15.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 6.9b

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.im) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
0.1b
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
6.5b
(* (- (* x.re x.re) (* x.im x.im)) x.im)

rewrite125.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-add
flip3-- flip--
+-commutative sum-log pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
difference-of-squares
Counts
4 → 67
Calls
4 calls:
12.0ms
(+ (* x.re x.im) (* x.im x.re))
32.0ms
(+ (* (- (* x.re x.re) (* x.im x.im)) x.im) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
33.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
44.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.im)

series219.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(+ (* x.re x.im) (* x.im x.re))
87.0ms
(+ (* (- (* x.re x.re) (* x.im x.im)) x.im) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
22.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
87.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.im)

simplify2.2s

Counts
79 → 79
Iterations
IterNodes
done5000
22761
1419
0135

prune435.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.1b

localize50.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.im)) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
0.1b
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
0.2b
(* (+ x.re x.im) (* (- x.re x.im) x.im))

rewrite189.0ms

Algorithm
rewrite-expression-head
Rules
42×associate-*l/
20×flip3-+ flip-+
16×frac-add
12×frac-times
11×pow1 add-cbrt-cube add-exp-log
add-sqr-sqrt *-un-lft-identity flip3-- flip--
add-log-exp
associate-*l* add-cube-cbrt
associate-*r/
associate-*r* pow-prod-down prod-exp cbrt-unprod
+-commutative sum-log *-commutative
distribute-lft-out unswap-sqr
Counts
4 → 85
Calls
4 calls:
12.0ms
(+ (* x.re x.im) (* x.im x.re))
63.0ms
(+ (* (+ x.re x.im) (* (- x.re x.im) x.im)) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
37.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
70.0ms
(* (+ x.re x.im) (* (- x.re x.im) x.im))

series274.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(+ (* x.re x.im) (* x.im x.re))
116.0ms
(+ (* (+ x.re x.im) (* (- x.re x.im) x.im)) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
24.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
100.0ms
(* (+ x.re x.im) (* (- x.re x.im) x.im))

simplify1.1s

Counts
97 → 97
Iterations
IterNodes
done5001
1715
0197

prune594.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize47.0ms

Local error

Found 4 expressions with local error:

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

rewrite180.0ms

Algorithm
rewrite-expression-head
Rules
23×pow1 add-cbrt-cube add-exp-log
12×pow-prod-down prod-exp cbrt-unprod
*-un-lft-identity
associate-*l* associate-*l/
add-sqr-sqrt add-cube-cbrt
add-log-exp
associate-*r*
frac-times flip3-+ flip-+
flip3-- *-commutative flip--
associate-*r/
+-commutative sum-log distribute-lft-out
Counts
4 → 77
Calls
4 calls:
23.0ms
(* 2 (* x.im x.re))
53.0ms
(+ (* (+ x.re x.im) (* (- x.re x.im) x.im)) (* (* 2 (* x.im x.re)) x.re))
43.0ms
(* (* 2 (* x.im x.re)) x.re)
58.0ms
(* (+ x.re x.im) (* (- x.re x.im) x.im))

series275.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(* 2 (* x.im x.re))
118.0ms
(+ (* (+ x.re x.im) (* (- x.re x.im) x.im)) (* (* 2 (* x.im x.re)) x.re))
49.0ms
(* (* 2 (* x.im x.re)) x.re)
84.0ms
(* (+ x.re x.im) (* (- x.re x.im) x.im))

simplify1.9s

Counts
89 → 89
Iterations
IterNodes
done5001
22804
1428
0136

prune485.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* x.re (* (* x.im x.re) 3)) (* (* x.im x.im) x.im))
0.1b
(* (* x.im x.im) x.im)
0.1b
(* x.re (* (* x.im x.re) 3))
0.3b
(* (* x.im x.re) 3)

rewrite142.0ms

Algorithm
rewrite-expression-head
Rules
37×pow1
23×add-cbrt-cube add-exp-log
12×pow-prod-down prod-exp cbrt-unprod
add-sqr-sqrt
*-un-lft-identity associate-*r* add-cube-cbrt
pow-plus pow-prod-up add-log-exp
associate-*l*
*-commutative
pow2 pow-sqr
sub-neg flip3-- diff-log pow3 flip-- unswap-sqr
Counts
4 → 79
Calls
4 calls:
48.0ms
(- (* x.re (* (* x.im x.re) 3)) (* (* x.im x.im) x.im))
19.0ms
(* (* x.im x.im) x.im)
55.0ms
(* x.re (* (* x.im x.re) 3))
13.0ms
(* (* x.im x.re) 3)

series238.0ms

Counts
4 → 12
Calls
4 calls:
121.0ms
(- (* x.re (* (* x.im x.re) 3)) (* (* x.im x.im) x.im))
42.0ms
(* (* x.im x.im) x.im)
39.0ms
(* x.re (* (* x.im x.re) 3))
36.0ms
(* (* x.im x.re) 3)

simplify1.7s

Counts
91 → 91
Iterations
IterNodes
done5000
22254
1329
0108

prune345.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0b

regimes129.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations
IterNodes
done11
111
08

end0.0ms

sample1.9s

Algorithm
intervals
Results
1.6s14354×body80valid