Details

Time bar (total: 13.9s)

sample29.0ms

Algorithm
intervals
Results
15.0ms461×body80valid

simplify3.0s

Counts
1 → 1
Iterations

Useful iterations: 5 (151.0ms)

IterNodesCost
01119
12019
24517
310817
424513
562311
6134611
7374011
done500111

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 9.4b

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

rewrite80.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:
8.0ms
(+ (* x.re x.im) (* x.im x.re))
22.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)
26.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.im)

series176.0ms

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

simplify888.0ms

Counts
79 → 79
Iterations

Useful iterations: done (886.0ms)

IterNodesCost
01351507
13991393
216981127
done50011029

prune401.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.1b

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

rewrite124.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))
42.0ms
(+ (* (+ x.re x.im) (* (- x.re 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)
48.0ms
(* (+ x.re x.im) (* (- x.re x.im) x.im))

series177.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(+ (* x.re x.im) (* x.im x.re))
70.0ms
(+ (* (+ x.re x.im) (* (- x.re x.im) x.im)) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
20.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
66.0ms
(* (+ x.re x.im) (* (- x.re x.im) x.im))

simplify2.3s

Counts
97 → 97
Iterations

Useful iterations: done (2.2s)

IterNodesCost
01972664
17022442
236671942
done50001514

prune224.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

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

rewrite144.0ms

Algorithm
rewrite-expression-head
Rules
42×associate-*l/
24×associate-*r/
20×flip3-+ flip-+
16×add-exp-log frac-add
14×pow1 add-cbrt-cube
12×frac-times
flip3-- flip--
*-un-lft-identity prod-exp add-log-exp
add-sqr-sqrt add-cube-cbrt pow-prod-down cbrt-unprod
associate-*l*
associate-*r*
+-commutative sum-log *-commutative
1-exp distribute-lft-out
Counts
4 → 86
Calls
4 calls:
8.0ms
(+ (* x.re x.im) (* x.im x.re))
47.0ms
(+ (* (+ x.re x.im) (* (- x.re x.im) x.im)) (* (* 1 (+ (* x.re x.im) (* x.im x.re))) x.re))
36.0ms
(* (* 1 (+ (* x.re x.im) (* x.im x.re))) x.re)
48.0ms
(* (+ x.re x.im) (* (- x.re x.im) x.im))

series177.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(+ (* x.re x.im) (* x.im x.re))
69.0ms
(+ (* (+ x.re x.im) (* (- x.re x.im) x.im)) (* (* 1 (+ (* x.re x.im) (* x.im x.re))) x.re))
21.0ms
(* (* 1 (+ (* x.re x.im) (* x.im x.re))) x.re)
66.0ms
(* (+ x.re x.im) (* (- x.re x.im) x.im))

simplify2.8s

Counts
98 → 98
Iterations

Useful iterations: done (2.8s)

IterNodesCost
02112803
17422456
239261900
done50011470

prune220.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (cbrt (+ (* x.re x.im) (* x.im x.re))) (cbrt (+ (* x.re x.im) (* x.im x.re))))
11.1b
(cbrt (+ (* x.re x.im) (* x.im x.re)))
11.1b
(cbrt (+ (* x.re x.im) (* x.im x.re)))
11.1b
(cbrt (* x.im (+ x.re x.re)))

rewrite63.0ms

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

series423.0ms

Counts
4 → 12
Calls
4 calls:
135.0ms
(* (cbrt (+ (* x.re x.im) (* x.im x.re))) (cbrt (+ (* x.re x.im) (* x.im x.re))))
94.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))
95.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))
97.0ms
(cbrt (* x.im (+ x.re x.re)))

simplify1.5s

Counts
97 → 97
Iterations

Useful iterations: done (1.5s)

IterNodesCost
01431907
13241480
27971169
32149974
done5000922

prune291.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 0.0b

regimes65.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 1 (1.0ms)

IterNodesCost
01321
12219
done2219

end0.0ms

sample817.0ms

Algorithm
intervals
Results
503.0ms14518×body80valid