Details

Time bar (total: 24.6s)

sample69.0ms

Algorithm
intervals
Results
43.0ms450×body80valid

simplify5.0s

Counts
1 → 1
Iterations

Useful iterations: 5 (230.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: 6.4b

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

rewrite136.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:
9.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))
44.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
57.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.im)

series289.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(+ (* x.re x.im) (* x.im x.re))
124.0ms
(+ (* (- (* x.re x.re) (* x.im x.im)) x.im) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
31.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
93.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

prune308.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

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

rewrite235.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))
64.0ms
(+ (* (+ x.re x.im) (* (- x.re x.im) x.im)) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
46.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
111.0ms
(* (+ x.re x.im) (* (- x.re x.im) x.im))

series259.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(+ (* x.re x.im) (* x.im x.re))
96.0ms
(+ (* (+ x.re x.im) (* (- x.re x.im) x.im)) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
36.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
97.0ms
(* (+ x.re x.im) (* (- x.re x.im) x.im))

simplify3.7s

Counts
97 → 97
Iterations

Useful iterations: done (3.7s)

IterNodesCost
01972664
17022442
236671942
done50001514

prune371.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

localize34.0ms

Local error

Found 4 expressions with local error:

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

rewrite232.0ms

Algorithm
rewrite-expression-head
Rules
38×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:
81.0ms
(* (cbrt (* x.re (* x.im (+ x.re x.re)))) (cbrt (* x.re (* x.im (+ x.re x.re)))))
45.0ms
(cbrt (* x.re (* x.im (+ x.re x.re))))
54.0ms
(cbrt (* x.re (* x.im (+ x.re x.re))))
47.0ms
(cbrt (* x.re (* x.im (+ x.re x.re))))

series679.0ms

Counts
4 → 12
Calls
4 calls:
207.0ms
(* (cbrt (* x.re (* x.im (+ x.re x.re)))) (cbrt (* x.re (* x.im (+ x.re x.re)))))
128.0ms
(cbrt (* x.re (* x.im (+ x.re x.re))))
167.0ms
(cbrt (* x.re (* x.im (+ x.re x.re))))
177.0ms
(cbrt (* x.re (* x.im (+ x.re x.re))))

simplify2.1s

Counts
84 → 84
Iterations

Useful iterations: done (2.1s)

IterNodesCost
01211434
12721200
26871004
31878837
done5000793

prune721.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0b

localize31.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt x.re) (cbrt x.re))
0.6b
(cbrt x.re)
0.6b
(cbrt x.re)
0.6b
(cbrt x.re)

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
add-exp-log swap-sqr associate-*r* associate-*l*
add-cbrt-cube add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 73
Calls
4 calls:
21.0ms
(* (cbrt x.re) (cbrt x.re))
1.0ms
(cbrt x.re)
2.0ms
(cbrt x.re)
2.0ms
(cbrt x.re)

series1.2s

Counts
4 → 12
Calls
4 calls:
316.0ms
(* (cbrt x.re) (cbrt x.re))
280.0ms
(cbrt x.re)
307.0ms
(cbrt x.re)
277.0ms
(cbrt x.re)

simplify5.3s

Counts
85 → 85
Iterations

Useful iterations: done (5.3s)

IterNodesCost
061524
1115417
2319397
31092379
44427374
done5001364

prune316.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 0b

regimes83.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01119
11719
done1719

end0.0ms

sample2.1s

Algorithm
intervals
Results
1.6s14440×body80valid