Details

Time bar (total: 21.4s)

sample50.0ms

Algorithm
intervals
Results
34.0ms443×body80valid

simplify5.1s

Counts
1 → 1
Iterations

Useful iterations: 5 (297.0ms)

IterNodesCost
01119
12019
24517
310817
424513
562311
6134611
7374011
done500111

prune11.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 7.9b

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

rewrite176.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:
42.0ms
(- (* 3 (* x.re x.re)) (* x.im x.im))
20.0ms
(* 3 (* x.re x.re))
111.0ms
(* (- (* 3 (* x.re x.re)) (* x.im x.im)) x.im)

series186.0ms

Counts
3 → 9
Calls
3 calls:
48.0ms
(- (* 3 (* x.re x.re)) (* x.im x.im))
46.0ms
(* 3 (* x.re x.re))
92.0ms
(* (- (* 3 (* x.re x.re)) (* x.im x.im)) x.im)

simplify2.1s

Counts
60 → 60
Iterations

Useful iterations: 3 (868.0ms)

IterNodesCost
086725
1208688
2625592
32055582
done5000582

prune200.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 7.8b

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

rewrite105.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:
10.0ms
(+ (* x.re x.im) (* x.im x.re))
24.0ms
(+ (* (- (* x.re x.re) (* x.im x.im)) x.im) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
35.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
33.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.im)

series239.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(+ (* x.re x.im) (* x.im x.re))
111.0ms
(+ (* (- (* x.re x.re) (* x.im x.im)) x.im) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
23.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
80.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.im)

simplify1.4s

Counts
79 → 79
Iterations

Useful iterations: done (1.4s)

IterNodesCost
01351507
13991393
216981127
done50011029

prune258.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

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

rewrite242.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:
21.0ms
(* (- x.re x.im) x.im)
82.0ms
(+ (* (+ x.re x.im) (* (- x.re x.im) x.im)) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
47.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
86.0ms
(* (+ x.re x.im) (* (- x.re x.im) x.im))

series278.0ms

Counts
4 → 12
Calls
4 calls:
57.0ms
(* (- x.re x.im) x.im)
102.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)
93.0ms
(* (+ x.re x.im) (* (- x.re x.im) x.im))

simplify4.5s

Counts
108 → 108
Iterations

Useful iterations: done (4.5s)

IterNodesCost
02102695
17262477
238592007
done50001585

prune406.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

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

rewrite281.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:
121.0ms
(* (cbrt (* (+ x.re x.im) (* (- x.re x.im) x.im))) (cbrt (* (+ x.re x.im) (* (- x.re x.im) x.im))))
31.0ms
(cbrt (* (+ x.re x.im) (* (- x.re x.im) x.im)))
69.0ms
(cbrt (* (+ x.re x.im) (* (- x.re x.im) x.im)))
41.0ms
(cbrt (* (+ x.re x.im) (* (- x.re x.im) x.im)))

series900.0ms

Counts
4 → 12
Calls
4 calls:
242.0ms
(* (cbrt (* (+ x.re x.im) (* (- x.re x.im) x.im))) (cbrt (* (+ x.re x.im) (* (- x.re x.im) x.im))))
233.0ms
(cbrt (* (+ x.re x.im) (* (- x.re x.im) x.im)))
198.0ms
(cbrt (* (+ x.re x.im) (* (- x.re x.im) x.im)))
227.0ms
(cbrt (* (+ x.re x.im) (* (- x.re x.im) x.im)))

simplify1.5s

Counts
174 → 174
Iterations

Useful iterations: done (1.5s)

IterNodesCost
02706030
14525687
212335538
done50005410

prune1.1s

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

regimes100.0ms

Accuracy

0% (0.6b remaining)

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

bsearch0.0ms

simplify5.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01442
12142
done2142

end0.0ms

sample2.2s

Algorithm
intervals
Results
1.9s14404×body80valid