Details

Time bar (total: 22.7s)

sample55.0ms

Algorithm
intervals
Results
34.0ms476×body80valid

simplify4.6s

Counts
1 → 1
Iterations

Useful iterations: 5 (241.0ms)

IterNodesCost
01119
12019
24517
310817
424513
562311
6134611
7374011
done500111

prune10.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 7.2b

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

rewrite143.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:
17.0ms
(+ (* x.re x.im) (* x.im x.re))
41.0ms
(+ (* (- (* x.re x.re) (* x.im x.im)) x.im) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
43.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
38.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.im)

series282.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(+ (* x.re x.im) (* x.im x.re))
109.0ms
(+ (* (- (* x.re x.re) (* x.im x.im)) x.im) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
38.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
111.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

prune317.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.1b

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

rewrite186.0ms

Algorithm
rewrite-expression-head
Rules
42×associate-*l/
20×flip3-+ flip-+
16×frac-add
12×frac-times
11×pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt flip3-- *-un-lft-identity flip--
add-log-exp
add-cube-cbrt associate-*l*
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:
8.0ms
(+ (* x.re x.im) (* x.im x.re))
55.0ms
(+ (* (+ x.re x.im) (* (- x.re x.im) x.im)) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
48.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
69.0ms
(* (+ x.re x.im) (* (- x.re x.im) x.im))

series274.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(+ (* x.re x.im) (* x.im x.re))
101.0ms
(+ (* (+ x.re x.im) (* (- x.re x.im) x.im)) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
44.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
89.0ms
(* (+ x.re x.im) (* (- x.re x.im) x.im))

simplify3.5s

Counts
97 → 97
Iterations

Useful iterations: done (3.5s)

IterNodesCost
01972664
17022442
236671942
done50001514

prune394.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (* x.im (+ x.re x.re))) (cbrt (* x.im (+ x.re x.re))))
13.1b
(cbrt (* x.im (+ x.re x.re)))
13.1b
(cbrt (* x.im (+ x.re x.re)))
13.1b
(cbrt (* x.im (+ x.re x.re)))

rewrite50.0ms

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

series571.0ms

Counts
4 → 12
Calls
4 calls:
217.0ms
(* (cbrt (* x.im (+ x.re x.re))) (cbrt (* x.im (+ x.re x.re))))
132.0ms
(cbrt (* x.im (+ x.re x.re)))
115.0ms
(cbrt (* x.im (+ x.re x.re)))
106.0ms
(cbrt (* x.im (+ x.re x.re)))

simplify4.8s

Counts
84 → 84
Iterations

Useful iterations: 4 (2.8s)

IterNodesCost
01111184
1254960
2624805
31654693
44967645
done5001645

prune354.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize50.0ms

Local error

Found 4 expressions with local error:

1.0b
(cbrt 2)
13.1b
(cbrt (* x.im (+ x.re x.re)))
13.1b
(cbrt (* x.im (+ x.re x.re)))
13.2b
(cbrt (* x.re x.im))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log cbrt-div pow1/3 associate-*r/ add-cbrt-cube add-log-exp
flip3-+ flip-+
Counts
4 → 42
Calls
4 calls:
1.0ms
(cbrt 2)
13.0ms
(cbrt (* x.im (+ x.re x.re)))
15.0ms
(cbrt (* x.im (+ x.re x.re)))
7.0ms
(cbrt (* x.re x.im))

series389.0ms

Counts
4 → 10
Calls
4 calls:
0.0ms
(cbrt 2)
162.0ms
(cbrt (* x.im (+ x.re x.re)))
126.0ms
(cbrt (* x.im (+ x.re x.re)))
101.0ms
(cbrt (* x.re x.im))

simplify2.4s

Counts
52 → 52
Iterations

Useful iterations: done (2.4s)

IterNodesCost
085474
1174433
2343384
3891360
42334336
done5000333

prune309.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

regimes155.0ms

Accuracy

0% (0.5b remaining)

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

bsearch0.0ms

simplify4.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01934
12934
done2934

end0.0ms

sample2.2s

Algorithm
intervals
Results
1.7s14453×body80valid