Details

Time bar (total: 21.5s)

sample42.0ms

Algorithm
intervals
Results
25.0ms443×body80valid

simplify4.7s

Counts
1 → 1
Iterations

Useful iterations: 5 (251.0ms)

IterNodesCost
01119
12019
24517
310817
424513
562311
6134611
7374011
done500111

prune392.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 7.9b

localize14.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (* 3 (* x.re x.re)) (* x.im x.im))
0.2b
(* 3 (* x.re x.re))
7.4b
(* (- (* 3 (* x.re x.re)) (* x.im x.im)) x.im)

rewrite128.0ms

Algorithm
rewrite-expression-head
Rules
10×pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity associate-*l*
add-log-exp
associate-*r* pow-prod-down prod-exp cbrt-unprod
flip3-- associate-*l/ *-commutative flip-- unswap-sqr
sub-neg diff-log
Counts
3 → 51
Calls
3 calls:
19.0ms
(- (* 3 (* x.re x.re)) (* x.im x.im))
31.0ms
(* 3 (* x.re x.re))
77.0ms
(* (- (* 3 (* x.re x.re)) (* x.im x.im)) x.im)

series188.0ms

Counts
3 → 9
Calls
3 calls:
43.0ms
(- (* 3 (* x.re x.re)) (* x.im x.im))
38.0ms
(* 3 (* x.re x.re))
108.0ms
(* (- (* 3 (* x.re x.re)) (* x.im x.im)) x.im)

simplify2.2s

Counts
60 → 60
Iterations

Useful iterations: 3 (841.0ms)

IterNodesCost
086725
1208688
2625592
32055582
done5000582

prune161.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 7.8b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite149.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt associate-*l/
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube add-log-exp
associate-*l*
associate-*r*
flip3-+ flip-+
frac-add
flip3-- flip--
+-commutative pow-prod-down prod-exp sum-log *-commutative cbrt-unprod unswap-sqr
difference-of-squares
Counts
4 → 67
Calls
4 calls:
16.0ms
(+ (* x.re x.im) (* x.im x.re))
49.0ms
(+ (* (- (* x.re x.re) (* x.im x.im)) x.im) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
25.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
55.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.im)

series258.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(+ (* x.re x.im) (* x.im x.re))
101.0ms
(+ (* (- (* x.re x.re) (* x.im x.im)) x.im) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
42.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
91.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.im)

simplify1.5s

Counts
79 → 79
Iterations

Useful iterations: done (1.5s)

IterNodesCost
01351507
13991393
216981127
done50011029

prune302.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite202.0ms

Algorithm
rewrite-expression-head
Rules
44×associate-*l/
19×flip3-+ flip-+
16×frac-add
15×add-sqr-sqrt
13×pow1 add-exp-log *-un-lft-identity add-cbrt-cube
12×frac-times associate-*l*
10×flip3-- flip--
add-cube-cbrt
associate-*r*
associate-*r/ add-log-exp
pow-prod-down prod-exp cbrt-unprod
*-commutative
unswap-sqr
+-commutative sum-log distribute-lft-out distribute-lft-out-- difference-of-squares
Counts
4 → 96
Calls
4 calls:
40.0ms
(* (- x.re x.im) x.im)
56.0ms
(+ (* (+ x.re x.im) (* (- x.re x.im) x.im)) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
25.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
76.0ms
(* (+ x.re x.im) (* (- x.re x.im) x.im))

series283.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(* (- x.re x.im) x.im)
124.0ms
(+ (* (+ x.re x.im) (* (- x.re x.im) x.im)) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
26.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
86.0ms
(* (+ x.re x.im) (* (- x.re x.im) x.im))

simplify4.3s

Counts
108 → 108
Iterations

Useful iterations: done (4.3s)

IterNodesCost
02102695
17262477
238592007
done50001585

prune401.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize29.0ms

Local error

Found 4 expressions with local error:

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

rewrite276.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
add-cube-cbrt *-un-lft-identity
cbrt-prod
add-exp-log
swap-sqr associate-*r* associate-*l* add-cbrt-cube 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:
127.0ms
(* (cbrt (* (+ x.re x.im) (* (- x.re x.im) x.im))) (cbrt (* (+ x.re x.im) (* (- x.re x.im) x.im))))
36.0ms
(cbrt (* (+ x.re x.im) (* (- x.re x.im) x.im)))
44.0ms
(cbrt (* (+ x.re x.im) (* (- x.re x.im) x.im)))
54.0ms
(cbrt (* (+ x.re x.im) (* (- x.re x.im) x.im)))

series901.0ms

Counts
4 → 12
Calls
4 calls:
243.0ms
(* (cbrt (* (+ x.re x.im) (* (- x.re x.im) x.im))) (cbrt (* (+ x.re x.im) (* (- x.re x.im) x.im))))
255.0ms
(cbrt (* (+ x.re x.im) (* (- x.re x.im) x.im)))
207.0ms
(cbrt (* (+ x.re x.im) (* (- x.re x.im) x.im)))
195.0ms
(cbrt (* (+ x.re x.im) (* (- x.re x.im) x.im)))

simplify1.4s

Counts
174 → 174
Iterations

Useful iterations: done (1.4s)

IterNodesCost
02706030
14525687
212335538
done50005410

prune1.0s

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

regimes117.0ms

Accuracy

0% (0.6b remaining)

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

bsearch0.0ms

simplify3.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01442
12142
done2142

end0.0ms

sample2.4s

Algorithm
intervals
Results
1.9s14404×body80valid